LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tabs on top-right

Hi,

I'm using tabbed screens in Labview 6 but I want to be able to re-size the tabs themselves and also position them on the top right of the tab control instead of the top left. Is this possible?

Ken
0 Kudos
Message 1 of 3
(3,134 Views)

You can do this

1. hide the tabs of tab control.

2. put one more dummy tab control aligned properly(with same number of pages)

3. align two tab controls so that the dummy tab control will appear in required position relative to your tab control

4. change the pages of your tab control according programatically as per dummy tab control

Tushar Jambhekar
tushar@jambhekar.com

Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog

0 Kudos
Message 2 of 3
(3,131 Views)

Hi,

 the following works in LV 6.1 and I've saved it for 6.0 and attached it below :

Make your tab control, and make the tab tops you're going to use the size you want.

You can then add in more pages before those tabs, so they move to the right hand edge of the whole tab panel. (You can always right click the tab control and re-arrange the pages)

Place a classic boolean flat square button over the top of the tab page tops you don't want to see - since it's on top you won't be able to select the pages that are covered underneath. Colour it the same as the background so you can't see it. (don't forget to colour both states of the boolean) - in the attached example, I've only coloured one part so you can see it.

Also right click the boolean and visible items - turn off the label display

That way you don't need to do it programatically.

Just another option.

Thanks

Sacha Emery
National Instruments (UK)

// it takes almost no time to rate an answer Smiley Wink
Message 3 of 3
(3,067 Views)