Sign in Join
FPDoc Onlineexperiment

TDBEdit.ReadOnly property

Member of TDBEditpublishedIn unit DBCtrls

Indicates if the control cannot modify the field in the linked dataset.

Declaration

pascal
property ReadOnly: Boolean read GetReadOnly write SetReadOnly default False;

Description

ReadOnly is a Boolean property which indicates if the control cannot modify its DataField in the linked dataset. When set to True, the underlying field value cannot be modified using the control.

Read and write access for the property value are redirected to the ReadOnly property in the TFieldDataLink instance used in the control.

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

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.