Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxDBLookupComboBox.DataBinding Property

Represents an editor connection to a dataset field being edited.

#Declaration

Delphi
property DataBinding: TcxDBTextEditDataBinding read; write;

#Property Value

Type
TcxDBTextEditDataBinding

#Remarks

The DataBinding property represents an object providing an editor connection to a data storage. For the TcxDBLookupComboBox control, the DataBinding.DataSource property identifies a TDataSource object connected to a dataset whose records are edited. The field being edited is determined by the DataBinding.DataField property.

A lookup combo box allows you to edit a DataField value by picking up a record from the dropdown list which displays data from another data source (the Properties.ListSource property). This data source must contain a key field matching DataField. Use the editor’s Properties.KeyFieldNames property to specify the key field.

When a user navigates through the dropdown list, the editor’s EditValue matches the value of the key field, corresponding to the currently selected dropdown list record. Posting the edit value modifies a DataField value.

See Also