SG_SetGadgetItemText

Syntax:

SG_SetGadgetItemText(SG_GadgetID_L.l, Position_L.l, GadgetText_S.s [Column_L.l])

Parameters:

SG_GadgetID_L

=

The number of the gadget

Position_L

=

the position of the item in the list

GadgetText_S

=

the text of the item

Column_L

=

if -1, the whole text of the item is replaced. Else only the Text of the Column. (works only with Listicongadget() and ExplorerListgadgets())


Description:

Changes the item text of the specified Gadget. This is a universal function which works for almost all gadgets which handle several items:

Listicongadget()

ExplorerListgadgets()

Editorgadget()

Comboboxgadget()


Example:


Remarks:

All attributes of the text, like font, front- and backcolor keeps unchanged with this command



Supported OS:   Windows