LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reset Front Panel Position in Front Panel Editor

Hello,
 
I have a quick question:
 
Is there a shortcut to restore the front panel location(offset, delta) to the default (with the "origin" dot in the top left corner) inside the front panel editor?  I have a front panel with a set size and controls hidden off screen.  When I scroll down to access the controls I have to scroll back to the original position or else the front panel appears "off-center" when I run the VI.
 
Thanks!


Message Edited by jorgewpi on 08-12-2008 08:07 AM
0 Kudos
Message 1 of 4
(3,865 Views)
For many of my GUI applications I procramatically change the pane.origin to 0,0 so it resets at runtime.  If you have a pre LV 8 the origin is a property of panel and not of pane since panes were not introduced yet.  You could also make a utility to do this, get all vis in memory select the vi you want to reset and call the origin (0,0) property on the selected reference.  As for a button on the front pannel I havent noticed one, but its not a bad idea.
 
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 4
(3,857 Views)
falkpl,
 
Resetting the origin at runtime is a great idea, thanks.  Sometimes I use my laptop's touchpad and trying to be precise can get really annoying.
 
Thanks!
Jorge
0 Kudos
Message 3 of 4
(3,851 Views)
I have a simpel vi to do this and just drop it in when needed, this saves me the 30 seconds it would toke to implement it.
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 4 of 4
(3,836 Views)