SG_GetGadgetItemState | ||||||
Syntax: | ||||||
Result=SG_GetGadgetItemState(SG_GadgetID_L.l, Position_L.l) | ||||||
Parameters: | ||||||
| ||||||
Return Values: | ||||||
| ||||||
Description: | ||||||
This is a universal function that works for almost all gadgets which handle several items: - ListIconGadget(): returns a combination of the following values: #PB_ListIcon_Selected: The item is selected. Check for these states like this: If Result & #PB_ListIcon_Selected Endif | ||||||
Example: | ||||||
| ||||||
Remarks: | ||||||
| ||||||
|