SG_CheckBoxGadget | |||||||||||||||||||||||||||
Syntax: | |||||||||||||||||||||||||||
Result=SG_CheckBoxGadget(SG_GadgetID_L.l, X_Pos_L.l, Y_Pos_L.l, Width_L.l, Height_L.l, GadgetText_S.s, [Flags_L.l]) | |||||||||||||||||||||||||||
Parameters: | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Return Values: | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Description: | |||||||||||||||||||||||||||
Create a checkbox gadget in the current GadgetList. #Gadget will be the number returned by SG_EventGadgetID() command. The 'Text$' is a description of the checkbox which will be displayed to the right of it. - SG_GetGadgetState() can be used to get the current gadget state (checked or unchecked). - SG_SetGadgetState() can be used to change the gadget state (checked or unchecked). | |||||||||||||||||||||||||||
Example: | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Remarks: | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
|