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

TCustomListBox.MeasureItem

Request the Height of a list item, using the OnMeasureItem handler.

Declaration

Source position: stdctrls.pp line 582

public procedure TCustomListBox.MeasureItem(

  Index: Integer;

  var TheHeight: Integer

); virtual;

Arguments

Index

  

The item index.

TheHeight

  

The height of the item in pixels, can be changed by the handler.

See also

TCustomListBox.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.