Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.159
OS: Windows 10 Education (64 Bit)
Build: v10.0.17763.0
If I have say an OpenFileDialog, SaveFileDialog and FolderBrowserModernDialog in a psf and have named and configured their properties, how do I copy them to another psf without loosing anything?
How to move objects from one psf to another
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.
- PGomersall
- Posts: 138
- Last visit: Thu Apr 11, 2024 7:51 am
Re: How to move objects from one psf to another
Copy and paste will not include the wired events. Therefore, I recommend creating a Control Set instead. Then you can drag and drop your control set into other forms.
To create a new control set, follow these steps:
1. Select all the controls you wish to include.
2. Press [Ctrl + T] or use the Ribbon->Designer->Templates->Create Control Set or the designer context menu.
3. Select an icon and enter a description.
You can check any extra functions you wish to include.
Note: PowerShell Studio will automatically include any wired events.
4. Once you save the control set, you can access it from the Toolbox pane under the Control Sets tab:
To create a new control set, follow these steps:
1. Select all the controls you wish to include.
2. Press [Ctrl + T] or use the Ribbon->Designer->Templates->Create Control Set or the designer context menu.
3. Select an icon and enter a description.
You can check any extra functions you wish to include.
Note: PowerShell Studio will automatically include any wired events.
4. Once you save the control set, you can access it from the Toolbox pane under the Control Sets tab:
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.