Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TDataSource.Enabled

Enable or disable sending of events.

Declaration

Source position: db.pas line 2156

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

Description

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

TDataset

  

Base class for records-based data-access.

TDatasource.Dataset

  

Dataset this datasource is connected to.

TDatasource.AutoEdit

  

Should the dataset be put in edit mode automatically.


Documentation generated on: Nov 23 2024