RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRibbonApplicationMenuItem.DrawText Method

Draws text on the control.

Pascal
procedure DrawText(var ARect: TRect; var Flags: Cardinal; Text: string); override;
C++
virtual __fastcall DrawText(TRect ARect, unsigned Flags, AnsiString Text);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!