Returns the number of selected items.
[ lSelCount = ] Object.SelCount
The SelCount property syntax has the following parts:
Name |
Type |
Description |
Object |
AListBox |
AListBox control |
lSelCount |
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 selected items in the list of the AListBox:
llb1SelCount = lb1.SelCount