LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom type of file requester

Solved!
Go to solution

Okay, here's one for the the LabVIEW gurus....

 

 I've got an app where I'm selecting a bunch of files in file requester- now I want to display a requester showing the files that have been previously selected and allowing the user to close them.

 

So, question is, any way of hijacking a file requester to display a list of files I specify? They may all live in different directories.

 

 

0 Kudos
Message 1 of 9
(3,235 Views)

Are you talking about the file dialog?

 

You can give a custom pattern to the file name, e.g. "abc*.txt" would only display files matching the pattern.

 

If these are files that have been opened exclusively in that same application earlier, you could simply retain a list of files and display them in a listbox. double-clicking an entry would trigger an event that handles that file, for example.

Message 2 of 9
(3,222 Views)

Yes, a file dialog. I guess I'm after a listbox in file dialog clothing...

0 Kudos
Message 3 of 9
(3,215 Views)

the file dialog Xvi does have a browse opionions input. 


"Should be" isn't "Is" -Jay
Message 4 of 9
(3,201 Views)

@JÞB wrote:

the file dialog Xvi does have a browse opionions input. 


Sorry, I don't understand this....


@ToeCutter wrote:

Yes, a file dialog. I guess I'm after a listbox in file dialog clothing...


Yes, Just create your own diaolog style subVI.

0 Kudos
Message 5 of 9
(3,193 Views)

I guess what I'm after is not available. I want something that looks exactly like a file dialog, but displaying my own options for selections- not files. These options could be say, strings I supply.

 

Yes, I can create a dialog that looks like a file dialog, but I wondered if there was a way to hijack the system file dialog window to display and select my own data, the advantage being effort saved and obtaining an appearance identical with the system file dialog.

 

It was a long shot..

0 Kudos
Message 6 of 9
(3,179 Views)
Solution
Accepted by ToeCutter

@ToeCutter wrote:

I guess what I'm after is not available. I want something that looks exactly like a file dialog, but displaying my own options for selections- not files. These options could be say, strings I supply.

 

Yes, I can create a dialog that looks like a file dialog, but I wondered if there was a way to hijack the system file dialog window to display and select my own data, the advantage being effort saved and obtaining an appearance identical with the system file dialog.

 

It was a long shot..


Not really,

the "Normal" xvi cofiguration options will get what you want.


"Should be" isn't "Is" -Jay
Message 7 of 9
(3,166 Views)

I was glad to see that Altenbach also didn't understand "Xvi".  I just realized you meant "the File Dialog Express VI" ...

0 Kudos
Message 8 of 9
(3,142 Views)

I guessed he meant the express VI, but I still don't see how it could work for all imaginable scenarios.

 

He wants to only show a list of "previously selected files".

 

It is not obvious if these files have a certain pattern or even exist all in the same folder. How does the file dialog know what has been previously selected? And where is the "browse opinions" input? I don't have that. 😉

0 Kudos
Message 9 of 9
(3,128 Views)