Data.DB.TDataChangeEvent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
type
typedef
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: Data.DB

Delphi

TDataChangeEvent = procedure(Sender: TObject; Field: TField) of object;

C++

typedef void __fastcall (__closure *TDataChangeEvent)(System::TObject* Sender, TField* Field);

Description

OnDataChange event handler type.

TDataChangeEvent is a type used by the OnDataChange event handler. The Sender parameter specifies the sender object. The Field parameter specifies the field that was affected, if only one field was targeted. Field is set to null if the change can affect more than one field value (for instance, when moving to a new record or refreshing a record buffer).

See Also