ComboBox.setItemHeight

Overview | Methods | This Package | All Packages

ComboBox.setItemHeight

Sets the height, in pixels, of an item in the combo box.

Syntax

public final void setItemHeight( int value )

Parameters

value

The height, in pixels, of an item in the list. The default value is 15.

Exceptions

WFCInvalidArgumentException thrown if the specified value is less than one (1).

Remarks

Use this method to set the height of items in an owner-drawn combo box with items of fixed height. To set the height of items in an owner-drawn combo box with items of variable height, use the measureItem event. For combo boxes that are drawn by the system, calls to this method are ignored.

See Also   getItemHeight