RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBMemo Class

TDBMemo represents a multiline edit control that can display and edit a field in a dataset.

Pascal
TDBMemo = class(TCustomMemo);
C++
class TDBMemo : public TCustomMemo;

Use TDBMemo to let users edit a field that may contain lengthy textual data or to simply display the contents of such a field. TDBMemo uses the Text property to represent the contents of the field. 

TDBMemo permits multiple lines of text. Thus, TDBMemo is appropriate for long alphanumeric fields or text binary large objects (BLOBs). For short alphanumeric fields, consider using a TDBEdit component instead. 

If the application doesn't require the data-aware capabilities of TDBMemo, use a memo control (TMemo) instead, to conserve system resources. 

 

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