SelCount Property

See AlsovbproSelCountSee

Applies to

List boxG11UCK

Description

Indicates the number of selected items in a list box; not available at design time and read-only at run time.

Syntax

[form.] [listbox].SelCount

Remarks

The SelCount property returns 0 if no items are selected. Otherwise, it returns the number of list items currently selected. This property is particularly useful when users can make multiple, disjoint selections.  You can quickly determine when all selected list items have been read without reading the entire list.

Data Type

IntegerDOKXHY