SG_SetGadgetItemState

Syntax:

SG_SetGadgetItemState(SG_GadgetID_L.l, Position_L.l, State_L.l)

Parameters:

SG_GadgetID_L

=

The number of the gadget

Position_L

=

the position of the item in the list

State_L

=

the state of the gadget (0 or 1)


Description:

Changes the item state of the specified SG_GadgetID_L. This is a universal function which works for almost all gadgets which handle several items. 'State' can take the following values:

- ListIconGadget(): Combination of the following values:

#PB_ListIcon_Selected: The item should be selected.


Example:


Remarks:



Supported OS:   Windows