Sign in Join
FPDoc Onlineexperiment

TDataChangeEvent procedure type

In unit DB

Event handler prototype when a field's data has changed.

Declaration

pascal
TDataChangeEvent = procedure(Sender: TObject; Field: TField) of object

Arguments

Sender

Datasource that triggered the event.

Field

Field that changed, or Nil if record changed.

Description

TDataChangeEvent is the event handler prototype for the OnDataChange event. The sender parameter is the TDatasource instance that triggered the event, and the Field parameter is the field whose data has changed. If the dataset has scrolled, then the Field parameter is Nil.

See also

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