ListCount Property

Object List Next Object

Defined By:
FileComboBox

Description:

Specifies the number of items in the list area of the control.

Details:

For a FileComboBox, ListCount specifies the number of items in the list. For a FileListBox, this property determines the number of files in the current directory that match the criteria set in the Filter property.

Each time the AddItem or RemoveItem method is used on a list control, the ListCount automatically updates to reflect the change.

The ListCount property is commonly used to perform bounds checking on a list-type control.

Data Type: Integer

See Also:

AddItem method,, List method, ListIndex property, RemoveItem method