Vcl.XPActnCtrls.TXPStyleMenuItem.DrawText

From RAD Studio API Documentation

Delphi

procedure DrawText(var Rect: TRect; var Flags: Cardinal; Text: String); override;

C++

virtual void __fastcall DrawText(System::Types::TRect &Rect, unsigned &Flags, System::UnicodeString Text);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.XPActnCtrls.pas
Vcl.XPActnCtrls.hpp
Vcl.XPActnCtrls TXPStyleMenuItem

Description

Draws text on the control. {{#multireplace:Vcl.XPActnCtrls.TXPStyleMenuItem.DrawText|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ActnMan.TCustomActionControl.DrawText|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ActnMan.TCustomActionControl.DrawText|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Draws text on the control.

Use DrawText to draw the text specified by Text on the control within the area specified by ARect.

See Also