CheckBoxGadget()
Syntax
CheckBoxGadget(#Gadget, x, y, Width, Heigth, Text$ [, Flags])
Description
Create a checkbox gadget in the GadgetList. #Gadget will be the number number returned by EventGadgetID() command. The 'Text$' is a description of the checkbox which will be displayed at the right of it.
- GetGadgetState() can be used to get the current gadget state (checked or unchecked).
- SetGadgetState() can be used to change the gadget state (checked or unchecked).
'Flags' are optionnals and can be composed of one of the following constants:#PB_CheckBox_Right : Aligns the text to right #PB_CheckBox_Center : Centers the text
Supported OS
Windows, AmigaOS, Linux