DesignIntf.IDesignNotification.DesignerClosed

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DesignerClosed(const ADesigner: IDesigner; AGoingDormant: Boolean);

C++

virtual void __fastcall DesignerClosed(const _di_IDesigner ADesigner, bool AGoingDormant) = 0 ;

Properties

Type Visibility Source Unit Parent
procedure
function
public
DesignIntf.pas
DesignIntf.hpp
DesignIntf IDesignNotification

Description

Called when the form designer is closed.

ADesigner is in the process of being destroyed. Any reference to the designer must be released. You should destroy any associated windows that are specific to ADesigner.

If AGoingDormant is True, then this indicates that the design root is being destroyed but the designer itself is not. This happens when a design-time package is unloaded. In most cases, the reference to the designer must be released regardless of the AGoingDormant flag, but it is not mandatory.

See Also