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.
stay on top
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: stay on top
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?
Is this also the case when you run the dialog before it was packaged to an exe?
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.