SetGadgetState3D()

Syntax

SetGadgetState3D(#Gadget3D, State)
Description
Changes the current state of the specified #Gadget3D.

Parameters

#Gadget3D The gadget to use.
State The new 3D gadget state.

Return value

None.

Remarks

This function is supported by the following 3D gadgets:

- CheckBoxGadget3D(): 1 to check it, 0 otherwise.
- ComboBoxGadget3D(): change the currently selected item.
- ImageGadget3D(): change the current image of the gadget.
- ListViewGadget3D(): change the currently selected item. . If -1 is specified, it will remove the selection.
- OptionGadget3D(): 1 to activate it, 0 otherwise.
- PanelGadget3D(): change the current panel.
- ProgressBarGadget3D(): change progress bar value.
- ScrollBarGadget3D(): change the current slider position.
- SpinGadget3D(): change the current value.

Supported OS

All

<- SetGadgetItemText3D() - Gadget3D Index - SetGadgetText3D() ->