FMX.Types.IFreeNotificationBehavior.AddFreeNotify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddFreeNotify(const AObject: IFreeNotification);

C++

virtual void __fastcall AddFreeNotify(const _di_IFreeNotification AObject) = 0 ;

Properties

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

Description

Adds an object to the list of objects to be notified when this control is destroyed.

Implement this function to notify an object when this control is about to be destroyed.

The AObject parameter specifies the object to be notified. AObject can be any object that implements the IFreeNotification interface.

To remove an object from the list of objects to be notified, implement RemoveFreeNotify.

See Also