RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomWebAppComponents.Notification Method

Updates the TCustomWebAppComponents properties 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. It checks whether AComponent supports one of the interfaces that is the type of a TCustomWebAppComponents property, and if so, sets that property to nil (Delphi) or NULL (C++) if the object is about to be removed, or sets the property to the AComponent interface if the object was just added. 

 

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