How to move a control from a form to a panel by selecting the correct location

Use this forum to ask questions after your subscription maintenance expires or before you buy. Need information on licensing or pricing? Questions about a trial version? This is the right place for you. No scripting questions, please.
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.
This topic is 5 years and 6 days 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.
rzeygerman@aol.com
Posts: 1
Last visit: Fri Mar 22, 2019 9:34 am

How to move a control from a form to a panel by selecting the correct location

Post by rzeygerman@aol.com »

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)
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: How to move a control from a form to a panel by selecting the correct location

Post by Alexander Riedel »

Please post in the PowerShell Studio forum for questions regarding that product.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 5 years and 6 days 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.