GetGadgetItemData()

Syntax

Result = GetGadgetItemData(#Gadget, Item)
Description
Returns the value that was previously stored with this #Gadget item with the SetGadgetItemData() command. This allows to associate a custom value with the items of a gadget. If no value has been stored with the item yet, the returnvalue will be 0.

This command works with the following gadgets:
- ComboBoxGadget()
- ListIconGadget()
- ListViewGadget()
- TreeGadget()

See SetGadgetItemData() for an example.

Supported OS

All

<- GetGadgetItemColor() - Gadget Index - GetGadgetItemState() ->