[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBCtrls' (#lcl)

TDBMemo.ReadOnly

Indicates that the text in the control cannot be modified.

Declaration

Source position: dbctrls.pp line 1055

published property TDBMemo.ReadOnly : Boolean
  read GetReadOnly
  write SetReadOnly
  default False;

Description

ReadOnly is a Boolean property which indicates whether the control is prevented from modifying its textual content. When set to False, the control value can be edited.

Read and write access specifiers in TDBMemo are overridden, and to the property value is redirected to the ReadOnly property in the TFieldDataLink instance used in the class. Write access calls the inherited method prior to updating the value in the field data link.

Remark: A value assigned to ReadOnly may be overridden by the Field definition from the target database table.

See also

TCustomEdit.ReadOnly

  

Indicates if the user is prevented from changing the value for the Text in the control.

TDataLink.ReadOnly


Version 4.0 Generated 2025-05-03 Home