This widget could not be displayed.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab control customization

Solved!
Go to solution

Hi,

     How to customize the Tab control in such a way that,the place where we are writing the tab name should be in one colour and body of the Tab control in another colour.See the picture.That is the colour below the black line should be one colour and above should be another colour.Is that possible??

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 1 of 8
(3,449 Views)

Hi,

Only way I can think of, is to use two tab controls. First one with tabs visible and second on top of first one with tabs hidden. Problem of cource is to make sure that one control dosen't change without changing the other.

 

 

 

 

--
Marko H

OptoFidelity - Enabling Smarter Future

Tampere - Espoo - Oulu - Cupertino - Redmond - Zhuhai

0 Kudos
Message 2 of 8
(3,435 Views)

Hi,

     I don't think that this is the right solution because on clicking the panel1 it have to display the first panel and so on....

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 3 of 8
(3,425 Views)

That will not be a problem you just create a dummy tab control which has the tabs visible and the actual tab control with Tabs hidden and wire the value of the dummy to the actual tab control so whenever you change one tab correspondingly the other will change.

 

 TabOverlap.PNG

 

 

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 8
(3,422 Views)
Solution
Accepted by topic author danil33

You could also simply use a raised box (decorations) placed at every tab:

 

asdf.png

 

 

Christian

Message 5 of 8
(3,414 Views)

Hide the Tabs - under Visible Items.

Create an Enum / Ring control with the Tab Names then wire the Enum to the Tab Node. Changing the Enum changes the visible tab.

Visualize the Solution

CLA

LabVIEW, LabVIEW FPGA
0 Kudos
Message 6 of 8
(3,398 Views)

Here is an easier solution. 

 

Create a constant from the Tab Control Node.  Change the Constant to a control.

Of course Hide the Tabs

Visualize the Solution

CLA

LabVIEW, LabVIEW FPGA
Message 7 of 8
(3,390 Views)

Hi,

    Thanks for the suggestions

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
Message 8 of 8
(3,381 Views)