GUI Help > Special > setChecked
setChecked
setChecked handle gadget, bool checked
Description: Checks or unchecks a checkbox or radiobutton gadget. Checkboxes display a small tick or cross when selected, radiobuttons display a small black circle in the centre. If you check a radiobutton, any other radiobuttons in the same group (ie. they have the same parent gadget) will become unchecked.
Return Value:
Parameters:
gadget | Handle to a checkbox or radiobutton gadget
checked | If 0 the gadget is unchecked, if 1 the gadget is checked.
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)