Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarCustomCombo.MeasureItem(Integer,Integer) Method

Determines height of an item in a listbox.

#Declaration

Delphi
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