move a control from a panel by selecting the correct location
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.
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.
move a control from a panel by selecting the correct location
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.
Re: move a control from a panel by selecting the correct location
[Topic moved to PowerShell GUIs by moderator]
Brittney Ryn
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
-
- Posts: 14667
- Joined: Tue May 22, 2007 9:57 am
- Has voted: 1 time
- Been upvoted: 5 times
- Contact:
Re: move a control from a panel by selecting the correct location
What are "screens". Controls can be removed form their container and added to any other container. Controls are always in a "ControlCollection" property of any form or control. The container have both "Add" and "Remove" methods.
See: https://docs.microsoft.com/en-us/dotnet ... etcore-3.1
See: https://docs.microsoft.com/en-us/dotnet ... etcore-3.1