Skip to main content

TdxBarCustomCombo.OnMeasureItem Event

Occurs every time users access listbox item height.

Declaration

property OnMeasureItem: TdxBarMeasureItemEvent read; write;

Remarks

Write an OnMeasureItem event handler to specify the height, in pixels, required to draw an item in a dropdown list window. Different listbox items may have different heights. The event handler can set the AHeight parameter to the height of the proper listbox item. The AIndex parameter, passed by the OnMeasureItem, determines the listbox item index in the array, specified by the Items property. The event handler sets the proper listbox item height in the AHeight parameter.

See Also