[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)

TDataLink.ReadOnly

Is the link readonly

Declaration

Source position: db.pas line 1835

public property TDataLink.ReadOnly : Boolean
  read FReadOnly
  write SetReadOnly;

Description

ReadOnly can be set to True to indicate that the link is read-only, i.e. the connected control will not modify the dataset. Methods as TDatalink.Edit will check this property and fail if the link is read-only. This setting has no effect on the communication of dataset events to the datalink: the TDatalink.Active property can be used to disable delivery of events to the datalink.

See also

TDatalink.Active

  

Is the link active

TDatalink.edit

  

Set the dataset in edit mode, if possible