RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBMemo.DataSource Property

Links the memo control to the dataset that contains the field for which the memo control displays data.

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

Link the memo control with a dataset by setting DataSource to a data source component that identifies the desired dataset. Specify which field in the dataset contains the memo data using the DataField property.

DBMemo1.DataSource := DataSource1;

 

DBMemo1->DataSource = DataSource1;

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!