Show: Delphi C++
Display Preferences

Vcl.ComCtrls.TCustomRichEdit.SelAttributes

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property SelAttributes: TTextAttributes read FSelAttributes write SetSelAttributes;

C++

__property TTextAttributes* SelAttributes = {read=FSelAttributes, write=SetSelAttributes};

Properties

Type Visibility Source Unit Parent
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomRichEdit

Description

Describes the rich text characteristics of the selected text in the rich edit control.

Use SelAttributes to discover or set the font characteristics of the currently selected text. SelAttributes specifies characteristics such as font face, color, size, style, and pitch. To change a single attribute of the currently selected text, read SelAttributes, and set one of its properties. To change all of the attributes of the currently selected text, set SelAttributes to a TTextAttributes object that represents the desired configuration of attributes. If no text is selected, SelAttributes represents the attributes of the cursor position.

When inserting new text, the font characteristics of the new text will match SelAttributes.

Note: SelAttributes is available only at runtime.

See Also

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance