srvdbmemo TSRVDBMemo

<< Click to display table of contents >>

srvdbmemo TSRVDBMemo

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

Unit SRVDBMemo;

Syntax

TSRVMemo = class(TSRVMemo)

Hierarchy

TObject

TPersistent

TComponent

TControl

TWinControl

TSRVWinControl

TSRVEditControl

TCustomSRVEdit

TSRVMemo

Description

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.

Properties and events

New properties:

Property

Type

Default value

Meaning

published DataField

String

'' (empty string)

Identifies the field from which the control displays data.

published DataSource

TDataSource

nil

Links the control to a dataset.

none Field

TField

 

Returns the TField object whose current value the control represents.

published ReadOnly

Boolean

False

Determines whether the user can change the value of the field.