PSS 2015 – New FolderBrowserModernDialog Control

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
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.
Locked
User avatar
PGomersall
Posts: 92
Joined: Sun Mar 03, 2013 12:40 pm

PSS 2015 – New FolderBrowserModernDialog Control

Post by PGomersall » Wed May 20, 2015 9:32 am

David,
It looks like you added my code from this post: https://www.sapien.com/forums/viewtopic.php?f=21&t=8662&p=46619&hilit=A+better+folderbrowserdialog#p46619 as a new control. This is really useful and I will rebuild my forms that used the original code with this new control.
However, I then it can be improved further. I suppose that I should have mentioned that the initialization of the dialog also accepts InitialDirectory; I think it would be really useful if you added this to your new control as a property that can be set. I know you could point at a folder by setting "SelectedPath", but this then shows in the dialog which doesn't look as good.
Regards,
Pete

User avatar
SAPIEN Support Forums
Posts: 945
Joined: Wed Dec 03, 2014 2:26 pm

PSS 2015 – New FolderBrowserModernDialog Control

Post by SAPIEN Support Forums » Wed May 20, 2015 9:32 am

This is an automated post. A real person will respond soon.

Thank you for posting, pgomersall.

Here are some hints to help you get an accurate and complete answer to your question.

Ask in the best forum: If you asked in the wrong forum, just copy your question to the right forum.

Anticipate follow-up questions!

Did you remember to include the following?
  • 1. Product, version and build
    2. 32 or 64 bit product
    3. Operating system, e.g. Windows 7 64 bit.
    4. Attach a screenshot, if applicable
    5. Attach logs, crash reports, etc., in a ZIP file
If not, please take a moment to edit your original post or reply to this one.

*** Make sure you do not post any licensing information ***

User avatar
davidc
Posts: 5913
Joined: Thu Aug 18, 2011 4:56 am

Re: PSS 2015 – New FolderBrowserModernDialog Control

Post by davidc » Thu May 28, 2015 10:54 am

The property will be available in the next service release.

David
David
SAPIEN Technologies, Inc.

User avatar
PGomersall
Posts: 92
Joined: Sun Mar 03, 2013 12:40 pm

Re: PSS 2015 – New FolderBrowserModernDialog Control

Post by PGomersall » Fri Jun 05, 2015 1:05 pm

Thank you David, looks good in v86. Hope it proves to be useful for Sapien and the community.
Pete

Locked