[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TDataEvent

Various events that are sent to datasources

## Declaration

Source position: db.pas line 53

`type TDataEvent = (`
`deFieldChange,` |  | A field value changed
`deRecordChange,` |  | The current record changed
`deDataSetChange,` |  | The dataset property changed
`deDataSetScroll,` |  | The dataset scrolled to another record
`deLayoutChange,` |  | The layout properties of one of the fields changed
`deUpdateRecord,` |  | The record is being updated
`deUpdateState,` |  | The dataset state is updated
`deCheckBrowseMode,` |  | The browse mode is being checked
`dePropertyChange,` |  | Unused
`deFieldListChange,` |  | Event sent when the list of fields of a dataset changes
`deFocusControl,` |  | Event sent whenever a control connected to a field should be focused
`deParentScroll,` |  | Unused
`deConnectChange,` |  | Unused
`deReconcileError,` |  | Unused
`deDisabledStateChange` |  | Unused
`);`

## Description

TDataEvent describes the various events that can be sent to TDatasource instances connected to a TDataset instance.

## See also

TDatasource |  | Component representing the link between a local (GUI) component and a dataset
TDataset |  | Base class for records-based data-access
TDataLink |  | Data event handling agent for controls

Documentation generated on: May 14 2021