This is a Powershell Studio question:
Hi, I have set up a lot of controls directly on the windows form and now I need to create screens. Instead of using multiple forms, I want to use Panels. How do I point each of my controls (text boxes and buttons) to the new panel instead of the form directly using Powershell Studio GUI layout. When I copy paste, things break.
The code way would be something this and it is already being generated so I would prefer to configure this directly in the visual properties / controls
$Form.Control.Remove($button1)
$Panel.Control.Add($button1)
How to move a control from a form to a panel by selecting the correct location
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
-
- Posts: 1
- Last visit: Fri Mar 22, 2019 9:34 am
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: How to move a control from a form to a panel by selecting the correct location
Please post in the PowerShell Studio forum for questions regarding that product.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.