[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)


Enable or disable sending of events


Source position: db.pas line 1934

published property TDataSource.Enabled : Boolean
  read FEnabled
  write SetEnabled
  default True;


Enabled is by default set to True: the datasource instance communicates events from the dataset to components connected to the datasource, and vice versa: components can interact with the dataset. If the Enabled property is set to False then no events are communicated to connected components: it is as if the dataset property was set to Nil. Reversely, the components cannot interact with the dataset if the Enabled property is set to False.

See also



Base class for records-based data-access



Dataset this datasource is connected to



Should the dataset be put in edit mode automatically

Documentation generated on: May 14 2021