GetGadgetState3D()

语法

Result = GetGadgetState3D(#Gadget3D)
概要
Returns the current state of the 3D gadget.

参数

#Gadget3D The 3D gadget to use.

返回值

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.

参阅

SetGadgetState3D()

已支持操作系统

所有

<- GetGadgetItemText3D() - Gadget3D Index - GetGadgetText3D() ->