Sign in Join
FPDoc Onlineexperiment

TDataSetNotifyEvent procedure type

In unit DB

Event handler prototype for dataset events.

Declaration

pascal
TDataSetNotifyEvent = procedure(DataSet: TDataSet) of object

Arguments

DataSet

Dataset which triggered the event.

Description

TDatasetNotifyEVent is used in most of the TDataset event handlers. It differs from the more general TNotifyEvent (defined in the Classes unit) in that the Sender parameter of the latter is replaced with the Dataset parameter. This avoids typecasts, the available TDataset methods can be used directly.

See also

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