SG_SetGadgetItemAttribute

Syntax:

SG_SetGadgetItemAttribute(SG_GadgetID_L.l, Item_L.l, Attribute_L.l [, Column_L.l])

Parameters:

SG_GadgetID_L

=

The number of the gadget

Item_L

=

the position of the item in the list

Attribute_L

=

the value to be set

Column_L

=

what column is it set for


Description:

Sets the 'Attribute' value of the specified #Gadget item. This function is available for all gadgets which support item attributes:

- ExplorerListGadget():

#PB_Explorer_ColumnWidth : Sets the width of the given 'Column'. The 'Item' parameter is ignored.

- ListIconGadget():

#PB_ListIcon_ColumnWidth : Sets the width of the given 'Column'. The 'Item' parameter is ignored.


Example:


Remarks:



Supported OS:   Windows