Skip to main content

TcxDBRichEdit Class

Represents a data-aware version of the TcxRichEdit control.

Declaration

TcxDBRichEdit = class(
    TcxCustomRichEdit
)

Remarks

The TcxDBRichEdit control is a data-aware version of the TcxRichEdit control. The TcxRichEdit control is an editor, which lets you customize the standard text layout with font attributes and paragraph formatting variations.

To connect a data-aware control to a dataset, set the DataSource and DataField properties of the DataBinding object.

The TcxDBRichEdit control provides the Lines property which defines the list of strings displayed by a rich text editor. The Properties member defines a number of settings specific to rich text editors. They define the text’s alignment, the maximum text length, read-only status and various others settings. The behavior of a rich text editor control is similar to the standard TRichEdit component.

Use the Style, StyleDisabled, StyleFocused and StyleHot properties to control the look & feel of a rich text editor depending upon its state. Working with styles is discussed in the TcxCustomEditStyle class topic.

See Also