GetGadgetAttribute()

语法

Value = GetGadgetAttribute(#Gadget, Attribute)
概要
Gets an attribute value of the specified gadget.

参数

#Gadget The gadget to use.
Attribute The attribute to get.

返回值

Returns the value of the specified gadget attribute or 0 if the gadget does not support the attribute.

Remarks

This function is available for all gadgets which support attributes. See the individual gadget for the supported attributes:

- ButtonImageGadget()
- CalendarGadget()
- CanvasGadget()
- DateGadget()
- EditorGadget()
- ExplorerListGadget()
- ListIconGadget()
- OpenGLGadget()
- PanelGadget()
- ProgressBarGadget()
- ScrollAreaGadget()
- ScrollBarGadget()
- SpinGadget()
- SplitterGadget()
- StringGadget()
- TrackBarGadget()
- WebGadget()

参阅

SetGadgetAttribute(), GetGadgetItemAttribute(), SetGadgetItemAttribute()

已支持操作系统

所有

<- GetActiveGadget() - Gadget Index - GetGadgetColor() ->