RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TColorListBox.ItemHeight Property

Specifies the height in pixels of an item in an owner-draw list box.

Pascal
property ItemHeight: Integer;
C++
__property int ItemHeight;

Use ItemHeight to control the height of an item in a list box when the Style property is lbOwnerDrawFixed. The ItemHeight property can also affect the height of the list box itself. When the IntegralHeight property is true, the height of the list box is always an increment of the ItemHeight value. 

If the Style property is lbStandard or lbOwnerDrawVariable, the value of ItemHeight is ignored. 

 

DrawItem 

IntegralHeight 

Items 

MeasureItem 

OnDrawItem 

OnMeasureItem 

Style 

Using TDBListBox and TDBComboBox

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!