Description
Use the ItemCount
property to get the total number of items in the list box or combo box control.
Declaration
TestObj.ItemCount
Read-Only Property | Integer |
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section |
Applies To
The property is applied to the following objects:
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Property Value
The total number of items in the given list box or combo box.
See Also
Item Property (Specific to MSAA ComboBox and MSAA List Objects)
SelectedItem Property (Specific to MSAA ComboBox Objects)
Selected Property (MSAA Objects)
Selected Property (Specific to MSAA List Objects)
Focus Property (Specific to MSAA List Objects)
DoDefaultAction Method (MSAA Objects)