LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you set the viewable area of the front panel?

Hi,

When I run my VI, there is always blank space around the front panel components.

Is there a way to specify the viewable area so that the window will show only that area, or just make the window the smallest rectangle that encompass all the components?

Thanks.


0 Kudos
Message 1 of 2
(2,986 Views)
A VI will remember its window size when you save it. You can set it programmatically using the VI server by accessing the Front Panel Window Bounds or the Panel Bounds, depending on whether you have scrollbars, etc, turned on/off. If you do a search within this forum you'll come across numerous examples.
0 Kudos
Message 2 of 2
(2,980 Views)