RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupControl.GetTextHeight Method

Indicates how many pixels are required for one line of text in the list.

Pascal
function GetTextHeight: Integer; virtual;
C++
virtual __fastcall int GetTextHeight();

GetTextHeight is used internally to manage the height of the control so that the list does not include partial (clipped) rows. It indicates the number of pixels required for a single row of text in the list. 

 

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