LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Resizing/Scaling - Only resize graph on auto-size while keeping other controls in their relative position.

Solved!
Go to solution

this capability seems like a long shot but is it not possible to allow only a specific control to resize while others stayed the same when maximizing or changing the window size?

 

i have a panel (actually a tab in easy tab) that has tables, buttons, text boxes, and a graph.  Ideally when lets say a user maximizes the window, I would want all of my controls to stay at their relative location, for example, conrols in the top left stay that distant from the top and left side, controls on the right side, stay xx pixels from the right side.  And then have my graph resize to be larger to fill in that extra space.

 

this would allow all the controls not to look funky when the screen gets resized.  I know this can be done in VB quite easily but it seems CVI only allows an absolute position based on the left and top.

0 Kudos
Message 1 of 4
(3,682 Views)
Solution
Accepted by topic author ngay528

Hello - 

 

The splitter control should be able to provide you with what you need here.  Check out the 'Docking' example.

 

NickB

National Instruments 

Message 2 of 4
(3,678 Views)

Where do I find this example?  LV 2011, search examples for 'docking' or 'dock' returns an empty list.

0 Kudos
Message 3 of 4
(3,144 Views)

This is a limitation of the search function Smiley Wink

 

Search for splitter instead and you will find docking.cws

Message 4 of 4
(3,139 Views)