Vcl.XPActnCtrls.TXPStyleMenuItem.DrawShadowedText
Delphi
procedure DrawShadowedText(Rect: TRect; Flags: Cardinal; Text: String; TextColor: TColor; ShadowColor: TColor); override;
C++
virtual void __fastcall DrawShadowedText(const System::Types::TRect &Rect, unsigned Flags, System::UnicodeString Text, System::Uitypes::TColor TextColor, System::Uitypes::TColor ShadowColor);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | Vcl.XPActnCtrls.pas Vcl.XPActnCtrls.hpp |
Vcl.XPActnCtrls | TXPStyleMenuItem |
Description
Draws the text on the control. {{#multireplace:Vcl.XPActnCtrls.TXPStyleMenuItem.DrawShadowedText|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ActnMenus.TCustomMenuItem.DrawShadowedText|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ActnMenus.TCustomMenuItem.DrawShadowedText|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Draws the text on the control.
The DrawShadowedText method draws the text with the TextColor and the ShadowColor on the control, within the area specified by Rect.