Data.DB.TMasterDataLink.OnMasterDisable
[–] Properties | |
---|---|
Type: event | |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TMasterDataLink |
Delphi
property OnMasterDisable: TNotifyEvent read FOnMasterDisable write FOnMasterDisable;
C++
__property System::Classes::TNotifyEvent OnMasterDisable = {read=FOnMasterDisable, write=FOnMasterDisable};
Description
Occurs when the source dataset becomes inactive.
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.