FMX.Types.IFreeNotification.FreeNotification

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure FreeNotification(AObject: TObject);

C++

virtual void __fastcall FreeNotification(System::TObject* AObject) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Types.pas
FMX.Types.hpp
FMX.Types IFreeNotification

Description

Ensures that a certain object is notified that the component will be destroyed.

Call FreeNotification when the component is destroyed.

The IFreeNotification descendants automatically call FreeNotification in their destructors.

AObject is the object to be notified.

Note: Some of the IFreeNotification descendants have implemented functions to add or remove objects that need to be notified. FreeNotification must be called for each object that is added to be notified.

See Also