SG_GetGadgetItemText

Syntax:

Result=SG_GetGadgetItemText(SG_GadgetID_L.l, Position_L.l, [Column_L.l])

Parameters:

SG_GadgetID_L

=

The number of the gadget

Position_L

=

the position of the item in the list

Column_L

=

The Number of the column.


Return Values:

Result

=

the item text of the specified Gadget


Description:

This is a universal function which works for almost all gadgets which handle several items:

- ListIconGadget() - 'Item' is the index of the entry from which you want to receive the content.

The optional parameter 'Column' (starting with 0) is the column to be used. If no 'Column' is given, it returns the whole text of the item.

- EditorGadget() - the parameter "Column" is not available here.


Example:


Remarks:

Note: All `Column_L` start from 0.



Supported OS:   Windows