Skip to main content

TdxBarCustomCombo.MeasureItem(Integer,Integer) Method

Determines height of an item in a listbox.

Declaration

procedure MeasureItem(AIndex: Integer; var AHeight: Integer); virtual;

Parameters

Name Type
AIndex Integer
AHeight Integer

Remarks

The MeasureItem method determines the height of a particular listbox item. AIndex specifies the listbox item index in the Items array. AHeight corresponds to the height of the listbox item. This procedure also generates an OnMeasureItem event. The OnMeasureItem event handler can set appropriate values for listbox item height.

See Also