AddGadgetItem gadget,item$[,select,icon]

Parameters

gadget - A container gadget handle
item$ - Item to add
select - flag to automatically select the added item: defaults to False.
icon - An icon index.

Description

Appends an item to the end of a container gadget.

The optional icon parameter allows you to choose an icon for the item.

To be able to use icons, the gadget must have had an icon strip attached
using SetGadgetIconStrip.

This command may only be used with combobox, listbox and tabber gadgets.

See also: SetGadgetIconStrip, LoadIconStrip, FreeIconStrip.

Index

Click here to view the latest version of this page online