mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 06:32:46 +02:00
fixed deleting lookup form when form is deleted
git-svn-id: trunk@3685 -
This commit is contained in:
parent
022d633371
commit
622409a368
@ -670,6 +670,8 @@ Begin
|
||||
if i>AForm.ComponentCount-1 then
|
||||
i:=AForm.ComponentCount-1;
|
||||
end;
|
||||
if PropertyEditorHook.LookupRoot=AForm then
|
||||
PropertyEditorHook.LookupRoot:=nil;
|
||||
if not (AForm is TForm) then
|
||||
writeln('WARNING: TCustomFormEditor.DeleteControl ',AForm.ClassName);
|
||||
JITFormList.DestroyJITForm(TForm(AForm));
|
||||
|
@ -804,7 +804,6 @@ Begin
|
||||
ParentFont := False;
|
||||
Ctl3D := True;
|
||||
// FBorderIcons := [biSystemMenu, biMinimize, biMaximize];
|
||||
FBorderStyle := bsSizeable;
|
||||
FWindowState := wsNormal;
|
||||
// FDefaultMonitor := dmActiveForm;
|
||||
FIcon := TIcon.Create;
|
||||
@ -1182,6 +1181,9 @@ end;
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.75 2002/12/03 17:40:37 mattias
|
||||
fixed deleting lookup form when form is deleted
|
||||
|
||||
Revision 1.74 2002/11/30 11:24:05 mattias
|
||||
removed unused TCustomForm.WMDestroy
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user