RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomUpDown.Notification Method

Responds to notifications when components are about to be created or destroyed.

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

After calling the inherited method, Notification checks whether the control specified by the Associate property is about to be destroyed, and if so, sets the Associate property to nil (Delphi) or NULL (C++). 

 

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