From RAD Studio API Documentation
Jump to: navigation, search


property CheckReadOnly: Boolean read GetCheckReadOnly write SetCheckReadOnly  stored IsCROS default True;


__property bool CheckReadOnly = {read=GetCheckReadOnly, write=SetCheckReadOnly, stored=IsCROS, default=1};


Type Visibility Source Unit Parent
property published
FireDAC.Stan.Option TFDUpdateOptions


Controls the checking of the ReadOnly property.

Use the CheckReadOnly property value to control whether FireDAC should use the ReadOnly property to control the field update ability. The default value is True. CheckReadOnly must be specified before preparing / opening a dataset. 

The ReadOnly property is used when CheckReadOnly is True. If at dataset Open call, CheckReadOnly is False, then ReadOnly is False. When the field has the ReadOnly property set to True and CheckReadOnly is False, then the field is still not editable using data aware controls. However, editing can be enabled directly in code. 

Additionally, CheckReadOnly can be used in combination with UpdateNonBaseFields to enable the editing of non-base fields.

See Also