Data.DB.TMasterDataLink.ActiveChanged
Delphi
procedure ActiveChanged; override;
C++
virtual void __fastcall ActiveChanged();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Data.DB.pas Data.DB.hpp |
Data.DB | TMasterDataLink |
Description
Regenerates the Fields property and triggers an OnMasterChange or OnMasterDisable event.
Applications can not call the protected ActiveChanged procedure. Changes in the Active property or the FieldNames property trigger this procedure. When the source dataset becomes inactive, ActiveChanged empties the Fields property and generates an OnMasterDisable event. When the dataset becomes active, ActiveChanged regenerates Fields from the source dataset and generates an OnMasterChange event.