Adding Custom Form Controls

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
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.
This topic is 11 years and 4 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.
User avatar
kamil.kosek
Posts: 4
Last visit: Tue Oct 20, 2015 11:56 pm

Adding Custom Form Controls

Post by kamil.kosek »

Hi, is it possible to add custom form controls to Powershell Studio to use it in the GUI editor? or have i to go the 'normal manual' way through [void][reflection.assembly]::LoadFrom((resolve-path .Formcontrol.dll)) ??
Thanks in advance
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Adding Custom Form Controls

Post by davidc »

Yes, you will have to manually add it to the script. You could use a place holder to position the control in the Form and replace it programmatically. The ElementHost Control Set is a good example of this.

Note: Not all controls may function correctly in PowerShell.

David
David
SAPIEN Technologies, Inc.
This topic is 11 years and 4 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.