RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdapterControlGroup.Notification Method

Updates the TAdapterControlGroup object when components are added to or removed from the application.

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

Notification is called automatically when the component specified by AComponent is about to be inserted or removed, as specified by Operation.  

In TAdapterControlGroup, Notification checks whether AComponent is the value of the Adapter property. If so, and Operation is opRemove, Notification sets the Adapter property to nil (Delphi) or NULL (C++). 

 

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