[Lazarus] How to make a TStaticText control appear on top of the form?

Bo Berglund bo.berglund at gmail.com
Wed Feb 3 14:36:38 CET 2021

I have a very special transparent form where there is a small opaque area in one
Here I have two TStaticText controls which are showing the size of the form and
displays an X respectively. These are updated during resizing so the form state
is visible. This works fine on my Win10 computer but when I copy the application
to my wife's laptop they are hidden apparently below the main form when I start
the app...

Very strange, the same binary behaves differently on two HP laptops both running
Windows 10 and both a little more than one year old.

How can I force these controls on top of the form so they are always visible?

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list