01-03-2016 11:04 PM
Hi,
I'm doing a software for cnc machines and I have a tab control in my program and each page has different amounts of controls on it. I would like to know how I can make the tab control pages resize automatically, only to fit the tab control on my monitor screen size and i want the controls in each tab also to be resized.
01-04-2016 02:36 AM
01-04-2016 02:40 AM
That will work only for vi's with single pane,but vi has multiple panes
01-04-2016 02:43 AM
01-04-2016 02:45 AM
01-04-2016 03:32 AM
please give a screenshot of your front panel..
01-04-2016 03:39 AM
01-04-2016 03:45 AM - edited 01-04-2016 03:46 AM
Right clicking the tab control and selecting 'size to pane' will cause the tab control to fill the pane it is in and grow/shrink with the pane. See the attached VI (LV2013).
You can also write to the PaneWidth and PaneHeight property of the Tab control to set it programmatically. There is also a property somewhere that causes the tabs to fill the width of the pane as well.
01-04-2016 05:04 AM
but when i do this labels of the controls are not resizing,,how to fix this