LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

the size of tab control??

Well guys I have a Tab control with 3 pages.

In 2 of them, I have a lot of things to show.. so I use almost my entire screen but in the third one I only have to show a little information... so I want to know if I can change the size of that page without changing the other 2.

 

This is possible? or What I can do to have a similar result?

0 Kudos
Message 1 of 4
(3,906 Views)

Hi EduU,

 

here's the reference for TabControl properties. You may try to set the TabControl PaneDimension when the user switches the tabs with the help of an event structure...

 

IMHO it's very uncommon to change tab control sizes when the user switches between tabs. Do you know any other program (also not LV-based ones) that works with such an UI?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,890 Views)

Hey GerdW,

 

Thanks for the help.

 

Well, I know is uncommon change the size of tab control, but for the visual of the program I think is better because I have only 4 indicators to show at one page and use a hole screen for that I think is useless but I can't put this indicators in the others pages because it show different information.

 

I'm thinking about show some more things in this page... and well I don't know any program that makes it =x

 

and I don't know how to use event structure to make that... so I will have to think in another way to fix that!

 

 

I want to ask another thing here, not related to that topic.... What is better, ask here or make a new post?

 

 

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

Hi EduU,

 

use the event "TabControl.ValueChange" to detect tab switches. (Try to) set the tab pane size in the event according to selected tab.

 

When the next question is totally unrelated you should start a new thread...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(3,879 Views)