RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBRichEdit.DataSource Property

Links the rich edit control to the dataset that contains the field it represents.

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

Use DataSource to link the rich edit control to a dataset in which the data can be found. To fully specify a database field for the edit control, both the dataset and a field within that dataset must be defined. Use the DataField property to specify the particular field within the dataset.

DBRichEdit1.DataSource := DataSource1;

 

DBRichEdit1->DataSource = DataSource1;

 

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