Data.DB.TMasterDataLink.ActiveChanged

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TMasterDataLink

Delphi

procedure ActiveChanged; override;

C++

virtual void __fastcall ActiveChanged();

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.

See Also