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