MessageBox position

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
TomBli
Posts: 1
Last visit: Thu Jan 07, 2021 3:59 am

MessageBox position

Post by TomBli »

-----------------------------------------------------------
Product, version and build: PowerShell Studio 2018 v5.5.152
32 or 64 bit version of product: 64
Operating system: Windows 10 17134
32 or 64 bit OS: 64
-----------------------------------------------------------

Is there a way to set MessageBoxes center on their parent forms?

Tom
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: MessageBox position

Post by davidc »

[TOPIC MOVED TO THE POWERSHELL GUIS FORUM BY MODERATOR]

Unfortunately, you can not specify the location of the MessageBox. You would have to create your own form, so that you can move the location.
David
SAPIEN Technologies, Inc.
This topic is 5 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked