共用方式為


DisplayCount Property

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

Object.DisplayCount[ = nExpression]

Property Values

  • 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.

See Also

ColumnCount Property | DisplayValue Property

Applies To: ComboBox