Sign in Join
FPDoc Onlineexperiment

TFieldDataLink.CanModify property

Member of TFieldDataLinkpublicIn unit DBCtrls

True if the linked field is capable of being modified.

Declaration

pascal
property CanModify: Boolean read GetCanModify;

Description

CanModify is a read-only Boolean property which indicates if the field in the linked DataSet can be modified. The property value is determined by examining the Field definition in the DataSet.

If Field has not been assigned by setting the FieldName property, the property value is False. If the Field is a lookup field type, the value is True when its list fields can be modified. Otherwise, the value in the CanModify property for the Field and the ReadOnly property in the data link determine the property value.

CanModify is used in the implementation of the EditingChanged and Edit methods.

See also

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