Overview | Methods | This Package | All Packages
Retrieves the height, in pixels, of an item in the combo box.
Syntax
public final int getItemHeight()
public final int getItemHeight( int index )
Parameters
index
The zero-based index of the item to return the height for.
Return Value
Returns the height, in pixels, of an item in the list.
Remarks
For combo boxes with items of variable height (combo boxes whose drawMode property is set to DrawMode.OWNERDRAWVARIABLE), use the index parameter to indicate which item you want a height returned for. If you call this method on a combo box with items of variable height without supplying the index parameter, this method returns the height of the first item in the combo box.
See Also setItemHeight