Sign in Join
FPDoc Onlineexperiment

TDataSource.Enabled property

Member of TDataSourcepublishedIn unit DB

Enable or disable sending of events.

Declaration

pascal
property 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

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