LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I define where my program opens a dialogue (for example in the middle of the monitor)?

I don't want to change the whole appearance of my VI, so it could be easier to define the position of my dialogue box that opens when I save my data. At the moment the dialogue box covers buttons where I can see what I'm saving (information I need to name my files).
0 Kudos
Message 1 of 2
(2,444 Views)
Are you using the standard SAVE dialog? Or are you using a custom VI as a dialog?

If you're using the standard box, you can't change its location. You could move the window that calls it (the one with the info you want to see). Make it bigger, move the buttons to the outside edge, whatever. You could actually move it (record it's window position, set new position to 0,0, run dialog, restore original position), although that's a bit jarring. You could suggest a file name using the info ("Run13 High Speed.txt" or something). You could put the info into the prompt ("Please save the data for the high-speed run13").

If you are using a custom VI as a dialog, then you're free to move it (set its position) wherever. You could copy the info from the calling
VI and display it on the SAVE dialog.

Hope there's an idea you can use in there.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 2
(2,444 Views)