[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomComboBox.MeasureItem

Invokes the OnMeasureItem handler, to get the height of the item in the drop-down list.

Declaration

Source position: stdctrls.pp line 317

protected procedure TCustomComboBox.MeasureItem(

  Index: Integer;

  var TheHeight: Integer

); virtual;

Arguments

Index

  

The index of the item whose height is required.

TheHeight

  

The height of the item, in pixels, adjustable by the OnMeasureItem handler.

See also

TCustomComboBox.OnMeasureItem

  

Handler invoked when the height of an item is required.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.