mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-24 05:01:32 +02:00
Win32: do not check popupMode for modal forms with BorderStyle = bsNone if PopupParent = nil. issue #29744
git-svn-id: trunk@51751 -
This commit is contained in:
parent
b294e20fc9
commit
d3ea914d94
@ -393,7 +393,7 @@ begin
|
||||
// general initialization of Params
|
||||
PrepareCreateWindow(AWinControl, AParams, Params);
|
||||
// show minimized modal window in taskbar not above start button. issue #29744
|
||||
if (fsModal in TCustomForm(AWinControl).FormState) and (TCustomForm(AWinControl).PopupMode in [pmNone, pmAuto]) and
|
||||
if (fsModal in TCustomForm(AWinControl).FormState) and
|
||||
(TCustomForm(AWinControl).BorderStyle <> bsNone) and (TCustomForm(AWinControl).PopupParent = nil) then
|
||||
Params.Parent := Windows.GetDesktopWindow;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user