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

TMeasureItemEvent

The handler type for the determination of the Height of a single item in owner-draw list and combo boxes.

Declaration

Source position: stdctrls.pp line 258

type TMeasureItemEvent = procedure(

  Control: TWinControl;

  Index: Integer;

  var AHeight: Integer

) of object;

Arguments

Control

  

The list or combo box.

Index

  

Index of the item to measure.

AHeight

  

Here the handler returns the Height of the item (in pixels).