Returns the number of items in the listbox.
[ lListCount = ] Object.ListCount
The ListCount property syntax has the following parts:
Name |
Type |
Description |
Object |
AListBox |
AListBox control |
lListCount |
Long |
A integer specifying the number of items in the AListBox list. |
The default value is zero. The number is read-only, at run time only.
The following statement shows how to obtain the number of items in the list of the AListBox:
llb1ListCount = lb1.ListCount