DesignIntf.IDesignNotification.DesignerOpened

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 DesignerOpened(const ADesigner: IDesigner; AResurrecting: Boolean);

C++

virtual void __fastcall DesignerOpened(const _di_IDesigner ADesigner, bool AResurrecting) = 0 ;

Description

Called when the form designer is opened.

ADesigner is created. If you store a reference to ADesigner, then you must destroy that reference when the DesignerClosed method is called with the False value of the AGoingDormant parameter.

If AResurrecting is True, then this designer has previously gone dormant and now its design root is being recreated. This happens when a design-time package was unloaded and then reloaded.

See Also