GetGadgetState3D()
Syntax
Result = GetGadgetState3D(#Gadget3D)Description
Returns the current state of the 3D gadget.
Parameters
#Gadget3D The 3D gadget to use.
Return value
The current state of the 3D gadget.
Remarks
This function is supported by the following 3D gadgets:
- CheckBoxGadget3D(): returns 1 if checked, 0 otherwise.
- ComboBoxGadget3D(): returns the currently selected item index, -1 if none is selected.
- ImageGadget3D(): returns the TextureID of the currently displayed image.
- ListViewGadget3D(): returns the currently selected item index, -1 if none is selected.
- OptionGadget3D(): returns 1 if activated, 0 otherwise.
- PanelGadget3D(): returns the current panel index, -1 if no panel.
- ProgressBarGadget3D(): returns the current value of the ProgressBar.
- ScrollBarGadget3D(): returns the current slider position.
- SpinGadget3D(): returns the current value of the SpinGadget.
See Also
SetGadgetState3D()
Supported OS
All