RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBComboBox.DataSource Property

Links the combo box to a dataset.

Pascal
property DataSource: TDataSource;
C++
__property TDataSource DataSource;

Specify the data source component that identifies the dataset in which the target field is found. To allow the combo box to represent the data for a field, both the DataSource and the DataField properties must be set.

DBComboBox1.DataSource := DataSource1;

 

DBComboBox1->DataSource = DataSource1;

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!