FireDAC.Comp.DataSet.TFDMasterDataLink.DataEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDMasterDataLink

Description

Responds to various events that occur while working with data.

FireDAC.Comp.DataSet.TFDMasterDataLink.DataEvent inherits from Data.DB.TDataLink.DataEvent. All content below this line refers to Data.DB.TDataLink.DataEvent.

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