SetGadgetAttribute()

Syntax

SetGadgetAttribute(#Gadget, Attribute, Value)
Description
Changes an attribute value of the specified gadget.

Parameters

#Gadget The gadget to use.
Attribute The attribute to set. See the documentation of each gadget for the supported attributes and their meaning.
Value The value to set for the attribute.

Return value

None.

Remarks

This function is available for all gadgets which support attributes:

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

See Also

GetGadgetAttribute(), GetGadgetItemAttribute(), SetGadgetItemAttribute()

Supported OS

All

<- SetActiveGadget() - Gadget Index - SetGadgetColor() ->