CHECKBOXENABLE

Synopsis
CHECKBOXENABLE name state
Description

Enables or disables the checkbox identified by name. If state equals TRUE, then the checkbox is enabled. If state equals FALSE, then the checkbox is disabled.

Example
WINDOWCREATE "main "mywindow "mytitle 0 0 100 100 []
GROUPBOXCREATE "mywindow "mygroupbox 10 10 80 40
CHECKBOXCREATE "mywindow "mygroupbox "mycheckbox [Check Me] 20 20 60 20
CHECKBOXENABLE "mycheckbox "False

The checkbox is now disabled

CHECKBOXENABLE "mycheckbox "True
WINDOWDELETE "mywindow

SourceForge.net Logo