LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programatically re-size subpanels

I am writting an application that utilizes multiple sub-panels on the main vi.  Under a certain case, I need to re-size one of the sub-panels frames to display more of the sub vi that is running within.  Does LabView have a method to do this?
0 Kudos
Message 1 of 4
(3,998 Views)
Try the Countainer Bounds property for the sub panel.
0 Kudos
Message 2 of 4
(3,988 Views)
I agree with the previous post; using the Container Bounds >> Height and Width properties will allow you to programatically resize your sub panels. On the front panel, right click on you sub panel and select Create >> Property Node >> Container Bounds >> Height or Width to place the desired property node on the block diagram. You can then write to these properties to change the sub panel size during run time.
 
I hope this helps!
 
Casey Weltzin
Applications Engineer
National Instruments
Message 3 of 4
(3,961 Views)

Thank you Casey.  My problem was that I wasn't sure how to access the property node for a panel.  I'm fairly new at LabView and was not aware that I could do this from the front panel (was used to doing it from the block diagram).  Thanks again.

-Mike Neibert

0 Kudos
Message 4 of 4
(3,955 Views)