More information on the CT_LISTBOX command family can be found here.
Description
Returns the number of items in a CT_LISTBOX or CT_COMBO control. For CT_TOOLBOX size see lnbSize.
Syntax
Syntax 1
lbSize idc
Parameters:
idc: Number - control's id
Returns: Number
Syntax 2
lbSize control
Parameters:
control: Control
Returns: Number
Examples
Example 1
_size = lbSize 101;
Example 2
_size = lbSize _control;
See also
lbAdd · lbClear · lbColor · lbCurSel · lbData · lbDelete · lbIsSelected · lbPicture · lbSelection · lbSetColor · lbSetCurSel · lbSetData · lbSetPicture · lbSetSelected · lbSetTooltip · lbSetValue · lbSort · lbSortByValue · lbText · lbValue