Microsoft SDK for Java

ComboBox.setMaxDropDownItems

Sets the maximum number of items that can be displayed in the drop-down list box of the combo box.

Syntax

public final void setMaxDropDownItems( int value )

Parameters

value

The maximum number of items that can be displayed in the drop-down list box. Valid values are between 1 and 100. The default value is 8.

Exceptions

WFCInvalidArgumentException thrown if the specified value is less than zero (0) or more than 100.

See Also   getMaxDropDownItems

© 1999 Microsoft Corporation. All rights reserved. Terms of use.