12-19-2012 01:56 PM
How do I get my subvi's to open in the same monitor that the main vi is in? I have tried the window run-time position options, but that seems to fix the subvi to a particular monitor. I want the user to be able to drag the main vi into any monitor available and have the subvi's open in that monitor.
Thanks
Solved! Go to Solution.
12-19-2012 02:17 PM
Check out a couple VI methods:
Front Panel.Run-Time Pos.Get - returns a bunch of default stuff including which monitor the front panel is on.
Front Panel.Run-Time Position.Centered - specifies where the VI will appear the next time it's run.
Beyond that, setting the window's position can move it between monitors.
This might get you to where you want to go.
Mike...