Page 1 of 1

stay on top

Posted: Tue Mar 17, 2020 7:47 am
by mqharrington
Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.172
OS: Windows 10 Pro (64 Bit)
Build: v10.0.18362.0

I have a form that has been compiled into an .EXE. when I run the .EXE it runs but the dialog is always hidden behind other windows. How do I make it always run on top of all windows?

Thanks.

Re: stay on top

Posted: Tue Mar 17, 2020 8:45 am
by brittneyr
If by windows, you mean other forms, you can set the property TopMost = $true. That will make the form appear above all other forms that don't also have this property set. You can also try changing the StartPosition property.

Is this also the case when you run the dialog before it was packaged to an exe?