Event handler prototype when a field's data has changed.
Source position: db.pas line 2120
type TDataChangeEvent = procedure( |
Sender: TObject; |
Field: TField |
) of object; |
Sender |
|
Datasource that triggered the event. |
Field |
|
Field that changed, or Nil if record changed. |
TDataChangeEvent is the event handler prototype for the TDatasource.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.
|
Called whenever data changes in the current record. |