Skip to main content

TcxDBTextEditDataBinding Class

Represents an editor connection to a data store.

Declaration

TcxDBTextEditDataBinding = class(
    TcxDBEditDataBinding
)

Remarks

This class encapsulates a dataset connection of a data-aware control. It overrides some TcxDBEditDataBinding methods for more convenient work with data-aware text editors.

Every data-aware control has a DataBinding property to establish a connection. To connect to a dataset you have to:

  1. Place your dataset (TTable, TQuery, for instance) onto a form, adjust its properties as necessary and set Active to True.

  2. Place a data source component (TDataSource) onto a form and set its DataSet property to the dataset you placed in step 1.

  3. Place the required data-aware editor onto a form. Set the DataSource property of its DataBinding object to the data source you created in step 2. Set the DataField property of the DataBinding object to the dataset field name or select it from the dropdown list in the Object Inspector.

For more information, refer to the Delphi (C++ Builder) documentation.

Inheritance

See Also