Skip to content

TField.ReadOnly

Is the field read-only.

Declaration

Source position: db.pas line 493

published property ReadOnly: Boolean 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

Name Description
TFieldDef.Attributes Additional attributes of the field.