Vcl.RibbonActnCtrls.TRibbonComboBoxItem.DrawText

From RAD Studio API Documentation

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.RibbonActnCtrls.pas
Vcl.RibbonActnCtrls.hpp
Vcl.RibbonActnCtrls TRibbonComboBoxItem

Description

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

Draws 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