mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 18:39:05 +02:00
LCL: LM_WINDOWPOSCHANGING: check for fsFirstShow
git-svn-id: trunk@26710 -
This commit is contained in:
parent
d52620c7e3
commit
9e35330a16
@ -1315,7 +1315,8 @@ begin
|
|||||||
if HostDockSite <> nil then Activate;
|
if HostDockSite <> nil then Activate;
|
||||||
end;
|
end;
|
||||||
LM_WINDOWPOSCHANGING:
|
LM_WINDOWPOSCHANGING:
|
||||||
if ([csLoading, csDesigning] * ComponentState = [csLoading])
|
if (not (csDesigning in ComponentState))
|
||||||
|
and (fsFirstShow in FFormState)
|
||||||
then begin
|
then begin
|
||||||
if (Position in [poDefault, poDefaultPosOnly])
|
if (Position in [poDefault, poDefaultPosOnly])
|
||||||
and (WindowState <> wsMaximized)
|
and (WindowState <> wsMaximized)
|
||||||
|
Loading…
Reference in New Issue
Block a user