RADIOBUTTONENABLEname
state
Enables or disables the radio button identified by name
.
If state
equals TRUE, then the radio button is enabled.
If state
equals FALSE, then the radio button is disabled.
WINDOWCREATE "main "mywindow "mytitle 0 0 100 100 [] GROUPBOXCREATE "mywindow "mygroupbox 10 10 80 60 RADIOBUTTONCREATE "mywindow "mygroupbox "myradiobutton [Switch Me] 20 20 60 20 RADIOBUTTONENABLE "myradiobutton "False
The radio button is now disabled
RADIOBUTTONENABLE "myradiobutton "True WINDOWDELETE "mywindow