SetScreenGadgetState()
Syntax
SetScreenGadgetState(#ScreenGadget, State)Description
Changes the current state of the specified #ScreenGadget.
Parameters
#ScreenGadget The gadget to use. State The new gadget state.
Return value
None.
Remarks
This function is supported by the following gadgets:
- CheckBoxScreenGadget(): 1 to check it, 0 otherwise.
- ComboBoxScreenGadget(): change the currently selected item.
- ImageScreenGadget(): change the current image of the gadget.
- ListViewScreenGadget(): change the currently selected item. If -1 is specified, it will remove the selection.
- OptionScreenGadget(): 1 to activate it, 0 otherwise.
- PanelScreenGadget(): change the current panel.
- ProgressBarScreenGadget(): change progress bar value.
- ScrollBarScreenGadget(): change the current slider position.
Supported OS
All