SG_CountGadgetItems

Syntax:

Result=SG_CountGadgetItems(SG_GadgetID_L.l)

Parameters:

SG_GadgetID_L

=

The number of the gadget


Return Values:

Result

=

the number of items in the specified Gadget


Description:

If there are any items in the gadget then the count starts from 1. If the #Gadget doesn't contain any items, 0 is returned. This is a universal function which works for all gadgets which handle several items:

Listicongadget()


Example:


Remarks:



Supported OS:   Windows