RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TComponent.RemoveFreeNotification Method

Disables destruction notification that was enabled by FreeNotification

Pascal
procedure RemoveFreeNotification(AComponent: TComponent);
C++
__fastcall RemoveFreeNotification(TComponent * AComponent);

RemoveFreeNotification removes the component specified by the AComponent parameter from the internal list of objects to be notified that the component is about to be destroyed. AComponent is added to this list by a previous call to the FreeNotification method. 

Most applications have no need to call RemoveFreeNotification. It is used by TComponent to detect loops where two components are notifying each other of their impending destruction. 

 

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