FireDAC.Comp.DataSet.TFDMasterDataLink.ActiveChanged

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDMasterDataLink

Delphi

procedure ActiveChanged; override;

C++

virtual void __fastcall ActiveChanged();

Description

Regenerates the Fields property and triggers an OnMasterChange or OnMasterDisable event.

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

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.

See Also