SetGadgetState()
Syntax
SetGadgetState(#Gadget, State)
Description
Change the #Gadget current state. This is a universal function which works for almost all gadgets:
- CheckBoxGadget(): 1 to check it, 0 else.
- ComboBoxGadget(): change the current selected item.
- ListViewGadget(): change the current selected item.
- OptionGadget(): 1 to activate it, 0 else.
- PanelGadget(): change the current panel.
Supported OS
Windows, AmigaOS, Linux