Page 1 of 1

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

Posted: Thu Jan 24, 2019 12:15 pm
by Hal242
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?

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

Posted: Thu Jan 24, 2019 2:17 pm
by davidc
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).

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

Posted: Thu Jan 24, 2019 5:50 pm
by Hal242
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

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

Posted: Fri Jan 25, 2019 7:45 am
by davidc
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 823 times

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

Posted: Fri Jan 25, 2019 10:45 am
by Hal242
aha! thank you, once again, David. I knew it had to be something simple.