Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.
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.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Hal242
Posts: 10
Joined: Fri Jan 18, 2019 1:53 am

Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019

Post by Hal242 » Thu Jan 24, 2019 12:15 pm

Product, version and build: PowerShell Studio 2019
32 or 64 bit version of product: 64-bit
Operating system: Windows 10, 1809
32 or 64 bit OS: x64

This post refers to a Property object which seems to have been moved or removed in the 2019 version of the product
viewtopic.php?t=9764

Where can I find the filter option for TextBox Browse for File? Or, are we to add this filter option manually in 2019 version?

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

Re: Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019

Post by davidc » Thu Jan 24, 2019 2:17 pm

The control set will insert an OpenFileDialog control along with a textbox and a button. Please make sure that the OpenFileDialog is the only control you have selected, because when you have multiple controls selected, the Property Pane will only display the shared properties (thus hiding the Filter property).
David
SAPIEN Technologies, Inc.

Hal242
Posts: 10
Joined: Fri Jan 18, 2019 1:53 am

Re: Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019

Post by Hal242 » Thu Jan 24, 2019 5:50 pm

Hi David, I tried this and it still doesn't show the filter property.

I have a little demo showing it here:
https://drive.google.com/file/d/1cmM8Yb ... sp=sharing

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

Re: Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019

Post by davidc » Fri Jan 25, 2019 7:45 am

In the video you are selecting the TextBox control. Instead, you need to select the FileOpenDialog, which is located at the bottom of the designer:
FileOpenDialog Location.png
FileOpenDialog Location.png (10.52 KiB) Viewed 770 times
David
SAPIEN Technologies, Inc.

Hal242
Posts: 10
Joined: Fri Jan 18, 2019 1:53 am

Re: Filter property for TextBox Browse for File cannot be found in PowerShell Studio 2019

Post by Hal242 » Fri Jan 25, 2019 10:45 am

aha! thank you, once again, David. I knew it had to be something simple.