RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataLink.ReadOnly Property

Indicates whether the dataset for this TDataLink can be modified.

Pascal
property ReadOnly: Boolean;
C++
__property Boolean ReadOnly;

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!