09-04-2012 07:40 AM - edited 09-04-2012 07:44 AM
Guys,
When I open file dialog, the file dialog window is always behind the front panel.
See attached files.
When I run Main.vi, it will open Sub.vi.
Here, window behavior of Sub.vi is floating.
If I click the button "open file dialog", the file dialog is behind the Sub.vi.
How can I bring the file dialog to frontmost.
Thanks.
09-04-2012 07:59 AM
I cannot replicate the behavior you're describing.
Your code doesn't make much sense. You are dynamically loading a VI (did you read http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363?), and then are calling it each time in the while loop. Having it in the loop means that it's statically loaded already.
What are you trying to accomplish?
09-05-2012 12:44 AM
Thanks smercurio_fc
Yes, it works. It is strange.
When I tested it (with changing window behavior), it didn't work.
The file dialog was always behind sub.vi.
hmm...
I want to pop up sub.vi when Main.vi runs, that is reason I dynamically loading VI
And I have to transfer data to Sub.vi, that is reason I call it in the while loop.
I'm, actually, not very good at LabVIEW, Would you suggest me more smart method? 🙂
Thanks a lot.
Mr. Fah
09-05-2012 01:04 AM
Hi Mr.Fah,
I opened your example.For me it is working fine.While I click the button "open file dialog" the dialog box is poping up above all the VIs.
09-05-2012 02:53 AM - edited 09-05-2012 02:56 AM
Hello guys,
It does not working again.
It did work at morning, but not now.
When I click window taskbar or other application (except labview), the file dialog is at front of Sub.vi
please see attached capture.
Fild dialog is behind Sub.vi
Thanks
09-05-2012 03:19 AM
Hi Mr.Fah,
You are able to drag the file dialog box.Then what is the problem?How this can be a serious issue?
09-05-2012 03:28 AM
To danil33
when subVI panel size is large this is really uncomfortable.
I find a reason. it is really trivial.
When I turn on context help (ctrl+H), this happens.
Haha...
Thanks guys.