RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMasterDataLink.RecordChanged Method

Generates an OnMasterChange event when the contents of one of the fields in the current record changes.

Pascal
procedure RecordChanged(Field: TField); override;
C++
virtual __fastcall RecordChanged(TField Field);

Applications can not call the protected RecordChanged method. It is called automatically when the contents of the current record change. The Field parameter indicates which field in the current record has changed. If Field is nil (Delphi) or NULL (C++), the entire record has changed. 

If the Field parameter is nil (Delphi) or NULL (C++), or if the Field parameter is one of the fields listed in the Fields property, RecordChanged triggers an OnMasterChange event. 

 

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