RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBCheckBox.DataSource Property

Links the check box to a dataset.

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

Specify the data source component through which the data from a dataset component is provided to the TDBCheckBox. To allow the check box to represent the data for a field, both the DataSource and the DataField properties must be set.

DBCheckBox1.DataSource := DataSource1;

 

DBCheckBox1->DataSource = DataSource1;

 

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