09-28-2009 08:38 AM
I am trying to create a vi that is controlled via a remote front panel. When viewed on the remote panel, I want the vi front panel to be entirely contained within the normal size of the screen, and not have scroll bars visible.
My vi front panel has all of its controls contained within a tab control. I am able to size this so that everything should fit on the remote panel screen.
However, everytime I save it as an HTML file and view it on the remote panel, Labview has added a bunch of white space to the bottom of my tab control, so that a scroll bar is shown, even though no controls are contained in this extended part of the tab control.
Is there any way to fix the size of the remote panel to a specific number of pixels?
Solved! Go to Solution.
09-28-2009 08:57 AM
Hi
Look at File->VI Properties->Windows size
Also look at File->VI Properties->Windows Apperance->Customize
09-28-2009 09:20 AM
I have used both of those, and neither of them seem do what I am trying to do.
Window size lets you set a minimum window size (but not a maximum), and rescales everything. I'm not trying to rescale anything.
Window appearance lets me choose not to have scrollbars, which I have already done. I don't have scroll bars when I run it on the server computer, but I dowhen it runs on the remote panel, because of the extra white space that appears in the tab control (not present in the server version of the vi).
Maybe I missing something though.
Brian
09-28-2009 09:30 AM
Under 'Window Run-Time Position' you can set the size and position.
Then if you go to 'Window Size' and check 'maintain proportions of window for different monitor resolution'
That should do it.
09-28-2009 12:49 PM
Turned out to be something very simple (lapse of concentration). I still had auto-grow on the tab control selected. Still can't understand why it was growing it to the extent that it was, since it was just creating a bunch of white space, but it seems to have stopped the problem.
Thanks for your help anyway guys.
Brian