Sign in Join
FPDoc Onlineexperiment

TDataSource.OnStateChange property

Member of TDataSourcepublishedIn unit DB

Called whenever the state of the dataset changes.

Declaration

pascal
property OnStateChange: TNotifyEvent read FOnStateChange write FOnStateChange;

Description

OnStateChange is called whenever the State property changes, and the datasource is enabled. It can be used in application code to react to state changes: enabling or disabling non-DB-Aware controls, setting empty values etc.

See also

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