DisplayCount Property

Applies To   See Also

Specifies the maximum number of items displayed in the list portion of a ComboBox control.

Syntax

Object.DisplayCount[ = nExpression]

Settings

nExpression

Specifies the maximum number of items displayed in the list portion of the ComboBox control. The default value is zero; if nExpression is zero, a maximum of 7 items are displayed in the list.

Scroll arrows are not displayed in the list portion of a ComboBox control if nExpression is one.