API:Vcl.ActnMenus.TCustomMenuItem.DrawText
Delphi
procedure DrawText(var ARect: TRect; var Flags: Cardinal; Text: string); override;
C++
virtual void __fastcall DrawText(System::Types::TRect &ARect, unsigned &Flags, System::UnicodeString Text);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ActnMenus.pas Vcl.ActnMenus.hpp |
Vcl.ActnMenus | TCustomMenuItem |
Description
Draws text on the control.
Vcl.ActnMenus.TCustomMenuItem.DrawText inherits from Vcl.ActnMan.TCustomActionControl.DrawText. All content below this line refers to Vcl.ActnMan.TCustomActionControl.DrawText.
Draws text on the control.
Use DrawText to draw the text specified by Text
on the control within the area specified by ARect
.