mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 18:00:26 +02:00
win32: prevent designed components to become TopMost
git-svn-id: trunk@25774 -
This commit is contained in:
parent
aff5d74181
commit
25902403e2
@ -451,7 +451,8 @@ begin
|
||||
begin
|
||||
lWinControl := lWindowInfo^.WinControl;
|
||||
if (lWinControl <> nil) and (lWinControl is TCustomForm)
|
||||
and (TCustomForm(lWinControl).FormStyle in fsAllStayOnTop) then
|
||||
and (TCustomForm(lWinControl).FormStyle in fsAllStayOnTop)
|
||||
and not (csDesigning in TCustomForm(lWinControl).ComponentState) then
|
||||
list.Add(Pointer(Handle));
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user