Skip to content

TDataSetNotifyEvent

Event handler prototype for dataset events.

Declaration

Source position: db.pas line 1606

type
  TDataSetNotifyEvent = procedure(DataSet: TDataSet) of object;

Arguments

Name Description
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

Name Description
TDataset Base class for records-based data-access.