mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 02:29:21 +02:00
IDE: Hide TNonFormProxyDesignerForm when component is removed - fixed showing of frames at project closing when a docked form editor is used
git-svn-id: trunk@64416 -
This commit is contained in:
parent
f23ec8bbc2
commit
58cda60754
@ -620,6 +620,8 @@ Begin
|
|||||||
|
|
||||||
if (AForm <> nil) then
|
if (AForm <> nil) then
|
||||||
begin
|
begin
|
||||||
|
AForm.ControlStyle:=AForm.ControlStyle+[csNoDesignVisible];
|
||||||
|
LCLIntf.ShowWindow(AForm.Handle,SW_HIDE);
|
||||||
FNonFormForms.Remove(AForm);
|
FNonFormForms.Remove(AForm);
|
||||||
(AForm as INonFormDesigner).LookupRoot := nil;
|
(AForm as INonFormDesigner).LookupRoot := nil;
|
||||||
Application.ReleaseComponent(AForm);
|
Application.ReleaseComponent(AForm);
|
||||||
|
Loading…
Reference in New Issue
Block a user