RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTextAttributes.Create Constructor

Creates an instance of TTextAttributes.

Pascal
constructor Create(AOwner: TCustomRichEdit; AttributeType: TAttributeType);
C++
__fastcall TTextAttributes(TCustomRichEdit AOwner, TAttributeType AttributeType);

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. 

 

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