Returns the number of items in the list of the object.
[ lListCount = ] Object.ListCount
The ListCount property syntax has the following parts:
Name |
Type |
Description |
Object |
AComboBox |
AComboBox control |
lListCount |
Long |
A integer specifying the number of items in the AComboBox list. |
The default return value is zero. The number is read-only, at run time only.
The following statement returns the number of items in the list of the AComboBox:
lcb1ListCount = cbl1.ListCount