RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataSetAdapterField.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 implements the ValuesList property is about to be destroyed. If the adapter that lists values for this field is going away, Notification sets the ValuesList property to nil (Delphi) or NULL (C++). 

 

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