RadioButtonEnable

HC GUI programming RadioButtons RadioButtonEnable
RadioButtonSet Sliders

RadioButtonEnable aradiobutton state


Command. If state is true then it enables the RadioButton aradiobutton, if state is false then it disables the RadioButton.

state must be a boolean.

Example:

rb=(RadioButton [][PenPaint]
[	if RadioButtonValue rb [pr [checked]]
] wxRB_GROUP)
RadioButtonEnable rb false
;Click on the RadioButton again --nothing happens
RadioButtonEnable rb true	;enabled again

Reference:

RadioButtonSet Sliders