TDataSource.OnDataChange property
Called whenever data changes in the current record.
Declaration
property OnDataChange: TDataChangeEvent read FOnDataChange write FOnDataChange;Description
OnDatachange is called whenever a field value changes: if the
Field parameter is set, a single field value changed.
If the
Field parameter is
Nil, then the whole record changed: when the dataset is opened,
when the user scrolls to a new record. This event handler can be set to react to data changes:
to update the contents of non-DB-aware controls for instance. The event is not called when the datasource is not enabled.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
