RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomComboBox.MeasureItem Method

Generates an OnMeasureItem event.

Pascal
procedure MeasureItem(Index: Integer; var Height: Integer); virtual;
C++
virtual __fastcall MeasureItem(int Index, int Height);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!