CountGadgetItems()

Syntax

Result = CountGadgetItems(#Gadget)
Description
Returns the number of items in the specified gadget.

Parameters

#Gadget The gadget to use.

Return value

Returns the number of items in the gadget.

Remarks

This is a universal function which works for all gadgets which handle several items:

- ComboBoxGadget()
- EditorGadget()
- ExplorerListGadget()
- ListIconGadget()
- ListViewGadget()
- MDIGadget()
- PanelGadget()
- TreeGadget()

See Also

AddGadgetItem(), RemoveGadgetItem(), ClearGadgetItems()

Supported OS

All

<- ContainerGadget() - Gadget Index - CreateGadgetList() ->