Data.DB.TDataLink.DataEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DataEvent(Event: TDataEvent; Info: NativeInt); virtual;

C++

virtual void __fastcall DataEvent(TDataEvent Event, System::NativeInt Info);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataLink

Description

Responds to various events that occur while working with data.

DataEvent is called automatically when various data events occur. Event indicates the event that just occurred. Info provides additional context information for some events.

DataEvent dispatches these events by calling the appropriate methods, as indicated in the following table.



Data event Info Method called

deFieldChange | deRecordChange

The field that changed

RecordChanged

deDataSetChange

Current index into the record buffer

DataSetChanged

deDataSetScroll

Current index into the record buffer

DataSetScrolled

deLayoutChange

Current index into the record buffer

LayoutChanged

deUpdateRecord

UpdateRecord

deUpdateState

EditingChanged or ActiveChanged

deCheckBrowseMode

CheckBrowseMode

deFocusControl

FocusControl



See Also