RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBRichEdit.Field Property

Indicates the TField object for the database field the rich edit control represents.

Pascal
property Field: TField;
C++
__property TField Field;

Read Field to get direct access to the contents and properties of the database field without going through the edit window. Use Field to change the contents of the database field programmatically. Use the Text property instead if you want to change the contents of the edit window without immediately posting the changes to the dataset. Changing the Text property allows the user to cancel the changes.

(DBRichEdit1.Field as TMemoField).Assign(RichEdit1.Lines);

 

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