RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.TDataEvent Enumeration

TDataEvent identifies an event that occurs to a dataset.

Pascal
TDataEvent = (
  deFieldChange,
  deRecordChange,
  deDataSetChange,
  deDataSetScroll,
  deLayoutChange,
  deUpdateRecord,
  deUpdateState,
  deCheckBrowseMode,
  dePropertyChange,
  deFieldListChange,
  deFocusControl,
  deParentScroll,
  deConnectChange,
  deReconcileError,
  deDisabledStateChange
);
C++
enum TDataEvent {
  deFieldChange,
  deRecordChange,
  deDataSetChange,
  deDataSetScroll,
  deLayoutChange,
  deUpdateRecord,
  deUpdateState,
  deCheckBrowseMode,
  dePropertyChange,
  deFieldListChange,
  deFocusControl,
  deParentScroll,
  deConnectChange,
  deReconcileError,
  deDisabledStateChange
};

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!