Skip to content

TDataLink.ReadOnly

Is the link readonly.

Declaration

Source position: db.pas line 2066

public property ReadOnly: Boolean;

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

Name Description
TDatalink.Active Is the link active.
TDatalink.edit Set the dataset in edit mode, if possible.