FireDAC.Comp.DataSet.TFDAutoIncField.ReadOnly

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ReadOnly default True;

C++

__property ReadOnly = {default=1};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDAutoIncField

Description

Determines whether the field can be modified.

FireDAC.Comp.DataSet.TFDAutoIncField.ReadOnly inherits from Data.DB.TField.ReadOnly. All content below this line refers to Data.DB.TField.ReadOnly.

Determines whether the field can be modified.

Set ReadOnly to true to prevent a field from being modified. In a data grid, tabbing from field to field skips over ReadOnly fields.

To learn whether a field can be modified, use the CanModify property instead. CanModify reflects not only the value of the ReadOnly property, but also any restrictions imposed by the underlying dataset.

See Also