System.Classes.TComponent.RemoveFreeNotification
Delphi
procedure RemoveFreeNotification(AComponent: TComponent);
C++
void __fastcall RemoveFreeNotification(TComponent* AComponent);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TComponent |
Description
Disables the destruction notification that was enabled by FreeNotification.
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.