API:Vcl.RibbonActnCtrls.TRibbonMainMenuItem.DrawText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DrawText(var ARect: TRect; var Flags: Cardinal; Text: string);

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.RibbonActnCtrls.pas
Vcl.RibbonActnCtrls.hpp
Vcl.RibbonActnCtrls TRibbonMainMenuItem

Description

Draws the text on the control.

Vcl.RibbonActnCtrls.TRibbonMainMenuItem.DrawText inherits from Vcl.RibbonActnCtrls.TRibbonApplicationMenuItem.DrawText. All content below this line refers to Vcl.RibbonActnCtrls.TRibbonApplicationMenuItem.DrawText.

Draws the text on the control.

The DrawText method draws the text received in the text parameter on the control, within the area specified by ARect.

See Also