Skip to main content
A newer version of this page is available. .

TcxDBTextEdit Class

Represents a data-aware editor, which enables editing textual data.

Declaration

TcxDBTextEdit = class(
    TcxCustomTextEdit
)

Remarks

The TcxDBTextEdit control represents a single-line text editor. It is similar to the TcxTextEdit control except for it is designed to work with dataset text or numerical fields. A text editor provides methods and properties to select text, copy/paste etc. It enables validation and the auto-completion feature.

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

The Properties object provides many settings specific to text editors: text alignment, maximum text length, strings for the auto complete feature, the echo mode and others.

Use the Style, StyleDisabled, StyleFocused and StyleHot properties to adjust the look & feel of an editor. Working with styles is discussed in the TcxCustomEditStyle class topic.

See Also