Vcl.DBCtrls.TDBLookupControl.GetTextHeight

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetTextHeight: Integer; virtual;

C++

virtual int __fastcall GetTextHeight();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupControl

Description

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

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.