Sign in Join
FPDoc Onlineexperiment

TDataSource.AutoEdit property

Member of TDataSourcepublishedIn unit DB

Should the dataset be put in edit mode automatically.

Declaration

pascal
property AutoEdit: Boolean read FAutoEdit write FAutoEdit default True;

Description

AutoEdit can be set to True to prevent visual controls from putting the dataset in edit mode. Visual controls use the Edit method to attempt to put the dataset in edit mode as soon as the user changes something. If AutoEdit is set to False then the Edit method does nothing. The effect is that the user must explicitly set the dataset in edit mode (by clicking some button or some other action) before the fields can be edited.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.