Data.DB.TDataLink.DataEvent

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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

C++

virtual void __fastcall DataEvent(TDataEvent Event, 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