RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSource.AutoEdit Property

Determines if a data source component automatically calls a dataset's Edit method when a data-aware control associated with the data source receives focus.

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

AutoEdit is true by default. If AutoEdit is true, then when a user attempts to modify the data displayed by the control the data source calls the underlying dataset's Edit method. 

Set AutoEdit to false to protect data from unintentional modification. Even if AutoEdit is false, an application can explicitly call a dataset's Edit method to permit data modification. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!