LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change Form Size during runtime

Could someone tell me how to change the size of my VI form during runtime?
 
I want the ability to click a button and have the height increase by 50 points or so, then go back to the original value after I click the button again.
 
Thanks for the help!

\
Angus Cattle from Pool Ranch and Steel Repairs via Joe's Welding.
0 Kudos
Message 1 of 6
(3,240 Views)
You can use the FrontPanel.WindowBounds property. Note that there is also a PanelBounds property. The difference is that the PanelBounds refers to the inner area, not including scrollbars, etc. See attached for a simple example (LabVIEW 8.2)
0 Kudos
Message 2 of 6
(3,233 Views)

Ok, that got me on the right track.

For some reason, though, my VI still does not change whenever I click the button.

I have attached my VI, saved in 8.2 format.

Does anyone see why my form doesn't grow by "98" whenever I click the "More >>" button?


\
Angus Cattle from Pool Ranch and Steel Repairs via Joe's Welding.
0 Kudos
Message 3 of 6
(3,217 Views)
You have an error in your wiring. You're branching off the original bundle, rather than sending the new bundle out in the "True" case:




Message Edited by smercurio_fc on 01-04-2008 09:44 AM
0 Kudos
Message 4 of 6
(3,211 Views)
Hi jp,

you should wire the output of the "bundle by name" function instead of the original wire!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(3,207 Views)

Man. So simple!

Thanks, guys.


\
Angus Cattle from Pool Ranch and Steel Repairs via Joe's Welding.
0 Kudos
Message 6 of 6
(3,203 Views)