TListBox.ItemHeight property
Get or set the height of a single item in the control.
Declaration
property ItemHeight:;Description
ItemHeight is an
Integer property which contains the
height used to render the
Items in the control.
The property value is used when the drawing Style for the control
is set to lbStandard, or when the handle has not been allocated
for the control. For other drawing styles, the property value is determined
using the item rectangle used for the first visible item in the list or by
using the OnMeasureItem event handler.
Changing the value for the property causes RecreateWnd to be
called to re-create the widgetset handle for the control.
The value in ItemHeight may be scaled when AutoAdjustLayout is
called using a layout policy that includes auto-adjustment for display
density.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
