Vcl.ComCtrls.TTextAttributes.Create
Delphi
constructor Create(AOwner: TCustomRichEdit; AttributeType: TAttributeType);
C++
__fastcall TTextAttributes(TCustomRichEdit* AOwner, TAttributeType AttributeType);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
constructor | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTextAttributes |
Description
Create crée une instance de TTextAttributes.
N'appelez pas le constructeur de TTextAttributes. Les objets TTextAttributes sont créés à partir du constructeur du contrôle éditeur de texte formaté. Ce contrôle utilise un objet ayant le type d'attribut atDefaultText pour implémenter sa propriété DefAttributes et un autre objet ayant le type d'attribut atSelected pour implémenter sa propriété SelAttributes.