DesignIntf.IDesignNotification.DesignerClosed

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
DesignIntf.pas
DesignIntf.hpp
Unit: DesignIntf
Parent: IDesignNotification

Delphi

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

C++

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

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