Skip to main content

TcxDBMemo Class

Represents a memo editor that enables editing dataset fields.

Declaration

TcxDBMemo = class(
    TcxCustomMemo
)

Remarks

The TcxDBMemo control enables editing lengthy textual data. Data is displayed within the region of a multi-line editor. By default, words are wrapped. The behavior of TcxDBMemo is similar to the TcxMemo control except that it allows editing the contents of dataset fields.

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

The Properties object provides various settings specific to memo editors: text alignment, maximum text length, read-only status and many others.

Use the Style, StyleDisabled, StyleFocused and StyleHot properties to adjust the look & feel of a memo editor in various control’s states. Working with styles is discussed in the TcxCustomEditStyle class topic.

See Also