LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Starting Position of Panel

I know that using FP.Panelbounds property, one can set the size of the window to appear on the screen. The FP however does not always show the part of the front panel that I want it to show (e.x. Waveform Diagram is not in the center, as what it originally wanted in the design), and often, I will have to re-adjust it with scroll bars.
I was wondering if there is another property that can set the starting position of the front panel.

Thanks

USCTROJAN
0 Kudos
Message 1 of 3
(2,863 Views)
FP.Origin is the property you're looking for. Note that (0,0) may not be where you think it is, but if you have a control that you always want to be in the upper-left corner, just set the Origin to the X and Y position of that control.

Another thing you can do is line up your front panel exactly the way you want it (window size and scroll position), then make a trivial change such as moving a control one pixel to the right and then back again. When you save the VI, it will remember this position (normally, LabVIEW doesn't consider scrolling a front panel to be a change that requires saving).
Message 2 of 3
(2,863 Views)
Great Answer....

Thanks
0 Kudos
Message 3 of 3
(2,863 Views)