RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMasterDataLink.ActiveChanged Method

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

Pascal
procedure ActiveChanged; override;
C++
virtual __fastcall ActiveChanged();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!