AddGadgetItem()
Syntax
AddGadgetItem(#Gadget, Position, Text$ [, ImageID])
Description
Add an item to the specified #Gadget. An optionnal ImageID() can be specified for gadget which support it (like ListIconGadget()). The following gadgets are supported:
- ComboBoxGadget()
- PanelGadget()
- ListViewGadget()
- ListIconGadget() : supports the ImageID.
- TreeGadget() : supports the ImageID. The Position parameter is ignored.
The position specify the item index where the new item should be inserted. To add this item to the end of the current item list, use a value of -1.
Supported OS
Windows, AmigaOS, Linux