LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

file dialog - file pattern

With the LV file dialog you have the possibility to choose a custom pattern
for the files viewed.
Is there a possibility to have more than one pattern. I do mean either
"pattern1" or "pattern2".
I know that you can seperate with ";" patterns and then the dialog shows all
available patterns. I want to have the possibility to show e.g. only "*.doc"
files or "*.wri" files.

Max


--
-> max.weiss@gmx.de / max@web.de <-
-> Max Weiß * Eulenweg 2 * 76356 Weingarten * Germany <-
-> Fax: 0180 505254775181 * Tel: 0175 1228001 * DB 8 MWE <-
0 Kudos
Message 1 of 2
(2,727 Views)
In article <93larp$ap9pn$1@ID-39366.news.dfncis.de>, "Max Weiß"
wrote:

> With the LV file dialog you have the possibility to choose a custom
> pattern
> for the files viewed.
> Is there a possibility to have more than one pattern. I do mean either
> "pattern1" or "pattern2".
> I know that you can seperate with ";" patterns and then the dialog shows
> all
> available patterns. I want to have the possibility to show e.g. only
> "*.doc"
> files or "*.wri" files.

Max,

This is very easy to do if you create your own dialog window. Make two
passes over the selected directory and get files that match your
criteria. You might also try using "fldr" as a pattern, guess what
you'll get?

It's worth the effort if you want to present information
to your user in
a standard way across all aspects of your application.

- andrew johnson
- Wireworks West
- Berkeley CA US
0 Kudos
Message 2 of 2
(2,727 Views)