SG_GetGadgetItemAttribute

Syntax:

result=SG_GetGadgetItemAttribute(SG_GadgetID_L.l, Item_L.l [, Column_L.l])

Parameters:

SG_GadgetID_L

=

The number of the gadget

Item_L

=

the position of the item in the list

Column_L

=

what column is it set for


Description:

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

- ExplorerListGadget(): #PB_Explorer_ColumnWidth : Returns the width of the given 'Column'. The 'Item' parameter is ignored.

- ListIconGadget(): #PB_ListIcon_ColumnWidth : Returns the width of the given 'Column'. The 'Item' parameter is ignored.


Example:


Remarks:



Supported OS:   Windows