RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapter.Notification Method

Responds when components are added to or deleted from the WebSnap application.

Pascal
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
C++
virtual __fastcall Notification(TComponent * AComponent, TOperation Operation);

Notification is called automatically when components are created or destroyed. After calling the inherited method, Notification checks whether the object that that is the value of the DataSet or MasterAdapter property is about to be destroyed. If so, Notification sets the appropriate property to nil (Delphi) or NULL (C++) and performs any other adjustments to respond to the change. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!