Vcl.ComCtrls.TTextAttributes.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(AOwner: TCustomRichEdit; AttributeType: TAttributeType);

C++

__fastcall TTextAttributes(TCustomRichEdit* AOwner, TAttributeType AttributeType);

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TTextAttributes

Description

Creates an instance of TTextAttributes.

Do not call the constructor for TTextAttributes. TTextAttributes objects are created from the constructor of the rich edit control. The rich edit control uses an attribute type of atDefaultText to implement its DefAttributes property, and an attribute type of atSelected to implement its SelAttributes property.

See Also