Data.DB.TDataEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TDataEvent = (deFieldChange, deRecordChange, deDataSetChange,
deDataSetScroll, deLayoutChange, deUpdateRecord, deUpdateState,
deCheckBrowseMode, dePropertyChange, deFieldListChange,
deFocusControl, deParentScroll, deConnectChange, deReconcileError,
deDisabledStateChange);

C++

enum DECLSPEC_DENUM TDataEvent : unsigned char { deFieldChange, deRecordChange, deDataSetChange, deDataSetScroll, deLayoutChange, deUpdateRecord, deUpdateState, deCheckBrowseMode, dePropertyChange, deFieldListChange, deFocusControl, deParentScroll, deConnectChange, deReconcileError, deDisabledStateChange };

Properties

Type Visibility Source Unit Parent
enum public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

TDataEvent identifies an event that occurs to a dataset.

The following table describes the possible values:



Value Meaning

deFieldChange

A field value changed.

deRecordChange

The contents of the current record changed.

deDataSetChange

A change occurred that affects the entire dataset (such as the insertion or deletion of records, changes to the key, or edits).

deDataSetScroll

The set of displayed records was scrolled.

deLayoutChange

The layout of data in a data-aware control changed.

deUpdateRecord

Edits to the current record were posted.

deUpdateState

The state of the dataset changed.

deCheckBrowseMode

The state of the dataset is about to change.

dePropertyChange

A property of the dataset or one of its fields changed.

deFieldListChange

The list of fields in the dataset changed.

deFocusControl

Focus needs to shift to the representation of a specified field.

deParentScroll

The parent for which the dataset is a nested detail scrolled.

deConnectChange

The connection to a remote dataset changed.

deReconcileError

The dataset encountered reconcile errors when applying updates.



See Also