<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 23.12.2015 17:52, Dmitry Boyarintsev
wrote:<br>
</div>
<blockquote
cite="mid:CAMpTZrcmYrsReZe0yKK2rAHaWC+RxA+EJyycHKkfQLboU8mnZQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Wed, Dec 23, 2015 at 11:42 AM,
Ondrej Pokorny <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:lazarus@kluug.net"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:lazarus@kluug.net">lazarus@kluug.net</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><span class=""><br>
</span>
For the sake of backwards&Delphi compatibility the
other way round would be more appropriate, IMO:<br>
fsAppStayOnTop - stay on top of all windows within the
application<br>
fsStayOnTop - stay on top of all windows within system.
(current behavior)<br>
</blockquote>
<div>Backwards? <br>
fsStayOnTop and fsSystemStayOnTop has been in Lazarus for
quite awhile.<br>
</div>
<div>Changing the behavior will make it backwards
incompatible.<br>
<br>
</div>
<div>I don't really see fsAppStayOnTop in delphi VCL either.<br>
</div>
<div><a moz-do-not-send="true"
href="http://docwiki.embarcadero.com/Libraries/Seattle/en/Vcl.Forms.TForm.FormStyle">http://docwiki.embarcadero.com/Libraries/Seattle/en/Vcl.Forms.TForm.FormStyle</a><br>
<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Sorry, I didn't really take a look into the Lazarus sources and
expected fsStayOnTop in Lazarus behave the same as in Delphi,
because LCL should be VCL compatible.<br>
<br>
From Delphi's documentation:<br>
<p style="margin: 0.4em 0px 0.5em; line-height: 1.5em;"><i>fsStayOnTop
This form remains on top of the desktop and of other forms in
the project, except any others that also have FormStyle set to
fsStayOnTop. If one fsStayOnTop form launches another, neither
form will consistently remain on top.</i></p>
<br class="Apple-interchange-newline">
So it means that Lazarus' LCL and Delphi's VCL fsStayOnTop are not
compatible, which I don't really understand why this decision was
made. (Maybe some historic reason I am not aware of [?])<br>
<br>
From my point-of-view, it would be a better decision to have
fsStayOnTop that behaves equally with Delphi (system-wide) and
another stay-on-top type application-wide just as I suggested
before.<br>
<br>
Ondrej<br>
</body>
</html>