RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMasterDataLink.OnMasterDisable Event

Occurs when the source dataset becomes inactive.

Pascal
property OnMasterDisable: TNotifyEvent;
C++
__property TNotifyEvent OnMasterDisable;

Write an OnMasterDisable event handler to respond when the source (master) dataset becomes inactive. When the source dataset is inactive, the field components in the Fields property can not be used to obtain the data from records in the source dataset. Thus, only information cached by the detail dataset that owns the TMasterDataLink can be used after OnMasterDisable until the next OnMasterChange event occurs. 

 

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