Skip to main content

TcxCustomRichEdit.SelAttributes Property

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

Declaration

property SelAttributes: TTextAttributes read; write;

Property Value

Type
TTextAttributes

Remarks

Use the SelAttributes property to retrieve or set the font characteristics of the currently selected text. The SelAttributes property specifies the text’s characteristics such as the font face, color, size, style, and pitch. To change all the attributes of the currently selected text, set the SelAttributes property to a TTextAttributes object that represents the desired attributes configuration. If no text is selected, the SelAttributes property represents the attributes at the cursor’s position.

When inserting new text, the font characteristics of the new text will match the SelAttributes property’s values.

Note

The SelAttributes property’s values are only available at run time.

See Also