RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWebAppDataModule.Notification Method

Responds to notifications that components are about to be inserted or removed.

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

Notification is called automatically when components are added to or removed from the application. TCustomWebAppDataModule uses this method to check whether the component that implements AppServices is about to be removed, and if so, sets the value of the AppServices 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!