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

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 5 years and 2 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.
Hal242
Posts: 12
Last visit: Thu Apr 30, 2020 9:09 pm

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

Post 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?
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

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

Post 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).
David
SAPIEN Technologies, Inc.
Hal242
Posts: 12
Last visit: Thu Apr 30, 2020 9:09 pm

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

Post 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
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

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

Post 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 2423 times
David
SAPIEN Technologies, Inc.
Hal242
Posts: 12
Last visit: Thu Apr 30, 2020 9:09 pm

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

Post by Hal242 »

aha! thank you, once again, David. I knew it had to be something simple.
This topic is 5 years and 2 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.