Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

ComboBox.setStyle

Sets a value indicating the style of the combo box (whether the combo box has an edit control or a static text control, and whether the list for the combo box is always visible or visible only when dropped down by the user).

Syntax

public final void setStyle( int value )

Parameters

value

An integer that specifies the style of the combo box. Possible return values are constants defined in the ComboBoxStyle class. The default value is ComboBoxStyle.DROPDOWN.

Exceptions

WFCInvalidEnumException thrown if the specified value is not a valid ComboBoxStyle constant.

See Also   getStyle