Vcl.Themes.TStyleHook.DrawControlText
Delphi
procedure DrawControlText(Canvas: TCanvas; Details: TThemedElementDetails;
const S: string; var R: TRect; Flags: Cardinal); virtual;
C++
virtual void __fastcall DrawControlText(Vcl::Graphics::TCanvas* Canvas, const TThemedElementDetails &Details, const System::UnicodeString S, Winapi::Windows::TRect &R, unsigned Flags);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | Vcl.Themes.pas Vcl.Themes.hpp | Vcl.Themes | TStyleHook | 
Description
Draws the text of the control.
| Parameter | Meaning | 
| Canvas | The canvas on which the drawing is performed. | 
| Details | The user interface element for which the drawing is performed. | 
| S | The text to draw. | 
| R | The rectangle that defines the area where to draw the text. | 
| Flags | The formatting of the text. |