LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to change the size of a subpanel in runtime depending on different Monitor resolutions?

Hi there,

the problem is, the application runs on different monitors with different resolutions (1024x768 or 1280x1024 ect.).

My idea was to us a subpanel which loads while starting up the VI with all the indicators. The main program stays the same, only the visualized stuff is new loaded.


Is is possible to change the dimesions of a subpanel?



Thanks for help!
0 Kudos
Message 1 of 3
(3,600 Views)
there are an property in labview wich you permit to conserve dimension of your VI with differente resolution.
To activate this option : file --> Vi property (Ctrl+I) --> category "window size" or "size of window" --> checked the relevant option
0 Kudos
Message 2 of 3
(3,594 Views)
Hello
You can change the dimension of the subpannel by a property node "ContainerBounds". See enclosed file.

But the same result, and even better becasuse without a subpannel you get by playing with the three options in the "Vi property->window Size".
You have there "scale all objects as window resizes", and "Maintain proportions of window for different monitor resolutions".

Especially the last one can give a lot of troubles if you develop your application on two head graphic adapter and you will run it on a single screen. It will simply look stupid.

Hope it helps
regards
Pawel
Message 3 of 3
(3,569 Views)