mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 14:59:30 +02:00
LCL: TScreen.RemoveForm more clean up
git-svn-id: trunk@24414 -
This commit is contained in:
parent
3166de2bc2
commit
b45e6c73ea
@ -740,6 +740,10 @@ begin
|
||||
FCustomForms.Remove(AForm);
|
||||
FCustomFormsZOrdered.Remove(AForm);
|
||||
FFormList.Remove(AForm);
|
||||
if FFocusedForm=AForm then FFocusedForm:=nil;
|
||||
if FLastActiveCustomForm=AForm then FLastActiveCustomForm:=nil;
|
||||
if FActiveForm=AForm then FActiveForm:=nil;
|
||||
if FActiveCustomForm=AForm then FActiveCustomForm:=nil;
|
||||
Application.UpdateVisible;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user