<< Click to display table of contents >> TSRVDBMemo |
TSRVDBMemo represents a multiline edit control that can display and edit a field in a dataset.
Unit SRVDBMemo;
Syntax
TSRVMemo = class(TSRVMemo)
TObject
TPersistent
TComponent
TControl
TWinControl
Use TSRVDBMemo to let users edit a field that may contain lengthy textual data or to simply display the contents of such a field. TSRVDBMemo uses the Text property to represent the contents of the field.
TSRVDBMemo permits multiple lines of text. Thus, TSRVDBMemo is appropriate for long alphanumeric fields or text binary large objects (BLOBs). For short alphanumeric fields, consider using a TSRVDBEdit component instead.
If the application doesn't require the data-aware capabilities of TSRVDBMemo, use a memo control (TSRVMemo) instead, to conserve system resources.
New properties:
Property |
Type |
Default value |
Meaning |
---|---|---|---|
DataField |
String |
'' (empty string) |
Identifies the field from which the control displays data. |
DataSource |
TDataSource |
nil |
Links the control to a dataset. |
Field |
TField |
|
Returns the TField object whose current value the control represents. |
ReadOnly |
Boolean |
False |
Determines whether the user can change the value of the field. |