SG_SetGadgetState | ||||||
Syntax: | ||||||
SG_SetGadgetState(SG_GadgetID_L.l, State_L.l) | ||||||
Parameters: | ||||||
| ||||||
Description: | ||||||
Change the current state of the specified #Gadget. This is a universal function which works for almost all gadgets: - ButtonImageGadget(): change the current image of the gadget. - CheckBoxGadget(): 1 to check it, 0 otherwise. - ImageGadget(): change the current image of the gadget. - ListIconGadget(): change the currently selected item. - OptionGadget(): 1 to activate it, 0 otherwise. - ScrollBarGadget(): change the current slider position. - TrackBarGadget(): change the current cursor position. | ||||||
Example: | ||||||
| ||||||
Remarks: | ||||||
| ||||||
|