[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBCtrls' (#lcl)

TFieldDataLink.CanModify

True if the linked field is capable of being modified.

Declaration

Source position: dbctrls.pp line 92

public property TFieldDataLink.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

TFieldDataLink.Field

  

The Field to which the datalink is attached.

TFieldDataLink.FieldName

  

FieldName - the name of the attached field, stored as a string.

TFieldDataLink.Edit

  

Edit - if the field can be modified, performs inherited Edit and shows editing status.

TFieldDataLink.EditingChanged

  

EditingChanged - method for processing changes in the Editing property.

TDataLink.DataSet

TDataLink.DataSource

TDataLink.ReadOnly


Version 4.0 Generated 2025-05-03 Home