Data.DB.TDataSource.AutoEdit

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoEdit: Boolean read FAutoEdit write FAutoEdit default True;

C++

__property bool AutoEdit = {read=FAutoEdit, write=FAutoEdit, default=1};

Properties

Type Visibility Source Unit Parent
property published
Data.DB.pas
Data.DB.hpp
Data.DB TDataSource

Description

Specifies whether the data source should call the Edit method automatically.

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 allow data modification.

See Also