Data.DB.TDataLink.ReadOnly
Delphi
property ReadOnly: Boolean read FReadOnly write SetReadOnly;
C++
__property bool ReadOnly = {read=FReadOnly, write=SetReadOnly, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Data.DB.pas Data.DB.hpp |
Data.DB | TDataLink |
Description
Indicates whether the dataset for this TDataLink can be modified.
Use ReadOnly to determine whether the dataset for this TDataLink can be modified. Setting ReadOnly to true causes any subsequent calls to the Edit method to fail, and changes the DataSource out of an editing state if it is in one. Setting ReadOnly to false enables changes to the data in the dataset.