LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Filtering selected folder

I have set the Browse option of a path control to folder. In the folder selection dialog box I don't want to list a folder if it contains a file with specific name, say expt.xml. Is there a way to do this? 

Girish

0 Kudos
Message 1 of 4
(661 Views)

It can't be done with any of the built-in dialog boxes.  You would have to code your own dialog box.

0 Kudos
Message 2 of 4
(643 Views)

@paul_a_cardinale wrote:

It can't be done with any of the built-in dialog boxes.  You would have to code your own dialog box.


... which, as I recall, isn't all that difficult (I vaguely remember doing this for myself about 5 years ago ...).  And, if you "roll your own", you can arrange the choices however you wish.

 

Bob Schor

0 Kudos
Message 3 of 4
(601 Views)

In the properties of the path control you have Broswe options. Set a pattern to e.g. *.txt. Avoiding single files is hard.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 4
(581 Views)