05-17-2013 11:39 AM
Hello,
I would like to adjust or center my VI which is inserted in my subpanel to have a modular software.
The poor is that my software will adapt automatically with my screen size.
R. Kaszubiak
05-21-2013 06:59 AM
Hello R. Kaszubiak
Have you tried File > VI Properties > Window Run Time Position-- select position Centered. This will make your VI always appear in center while running the program
05-21-2013 07:04 AM
Press control --> I then a VI properties window will open then remaining I attached in doc file.
Hope this will help
05-22-2013 03:47 PM
I would like to center a window of any size into a subpanel of any size too.
I would like the subvi be centered into the subpanel so your solutions are not correct.
R. Kaszubiak
05-23-2013 09:23 AM
Use the Pane's properties. Drop a hidden control at the center of the subpaneled VI and use its position, or create a decoration that defines the boundary of the subpaneled VI and use its width/height to do some math. The calculations and positioning could be in one subVI that gets called at the beginning of the subpaneled VI. Here's a starting point:
05-24-2013 02:48 AM
Thanks for the advice.
Indeed, I searched a solution in this direction and I have found it.
My function is now modular and generic.
R. Kaszubiak
06-14-2013 03:21 AM
Hi R. Kaszubiak,
could you please provide that generic solution?
Thanks in advance,
Tom