LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Resize and move controls in a running VI

Hi i am looking to have the option to move controls and resize them in a running VI, is this possible? the idea is to have the option to restructure the front pannel in a running enviroment, maybe using a mouse click event combined with property nodes? Any tips?

 

Thanks in advance

0 Kudos
Message 1 of 6
(3,851 Views)

@Andium wrote:

Hi i am looking to have the option to move controls and resize them in a running VI, is this possible?

 

Thanks in advance



Absolutely. Check this out!

=====================
LabVIEW 2012


0 Kudos
Message 2 of 6
(3,847 Views)

Thanks for the response, this is pretty much what i want but is there an option to move the led manually with the mouse, like a "click and move" to select the control with the mouse and move it? something like a drag and drop

 

Thanks again

0 Kudos
Message 3 of 6
(3,842 Views)

I attach a quick example:

 

First the positon property.  this is setable while running and can be used to change where the object displays.

 

Bounds tells us how wide and high but is read only.  Fit to pane works for resizing the object ans stlitter bars can be moved (or programatically resized)

 

So a combiation of splitter bars and moving position might get you there.  Try out the example-  move the vertical splitters and click in the center pane


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 6
(3,841 Views)

there's also an example in 8.5 here that does what your looking for: move, hide, resize controls

0 Kudos
Message 5 of 6
(3,795 Views)

Hello can you please post this VI for LV2009...

0 Kudos
Message 6 of 6
(3,735 Views)