Sign in Join
FPDoc Onlineexperiment

TField.ReadOnly property

Member of TFieldpublishedIn unit DB

Is the field read-only.

Declaration

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

Description

ReadOnly can be set to True to prevent controls of writing data to the field, effectively making it a read-only field. Setting this property to True does not prevent the field from getting a value through code: it is just an indication for GUI controls that the field's value is considered read-only.

See also

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