ListBox.setItemHeight

Overview | Methods | Fields | This Package | All Packages

ListBox.setItemHeight

Sets the height, in pixels, of an item in the list 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 list box with items of fixed height. To set the height of items in an owner-drawn list boxes with items of variable height, use the measureItem event. For list boxes that are drawn by the system, calls to this method are ignored.

See Also   getItemHeight