SetGadgetAttribute()

Syntax

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

Parameters

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

Return value

This function has no return value.

Remarks

This function is available for all gadgets which support attributes:

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

See Also

GetGadgetAttribute(), GetGadgetItemAttribute(), SetGadgetItemAttribute()

Supported OS

All

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