Vcl.DBCtrls.TFieldDataLink.OnActiveChange
Delphi
property OnActiveChange: TNotifyEvent read FOnActiveChange write FOnActiveChange;
C++
__property System::Classes::TNotifyEvent OnActiveChange = {read=FOnActiveChange, write=FOnActiveChange};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TFieldDataLink |
Description
Occurs when the Active property of the TFieldDataLink changes.
Write an OnActiveChange event handler to take specific action immediately after the dataset transitions into or out of an active state. OnActiveChange is particularly useful for updating objects to reflect changes that occurred while the dataset was not active, as the object can not respond to events while its TFieldDataLink is not Active.