Vcl.StdCtrls.TCustomComboBox.MeasureItem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MeasureItem(Index: Integer; var Height: Integer); virtual;

C++

virtual void __fastcall MeasureItem(int Index, int &Height);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomComboBox

Description

Generates an OnMeasureItem event.

MeasureItem is the protected implementation method for the OnMeasureItem event. Override MeasureItem to provide class-specific code to specify the size of list items when Style is csOwnerDrawVariable.

See Also