LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Tab Control update from a subvi

Solved!
Go to solution

Hello,

 

I am using the subVI to change the color of the highlighted tab on the top VI.

 

In the attached program, how to get the main VI tab control to show correctly highlighted as per the operation in the sub VI?

 

Thanks. 

 

 

Download All
0 Kudos
Message 1 of 4
(205 Views)
Solution
Accepted by topic author hiNI

Modify your subVI to accept a reference to a tab control and use property nodes on that reference to change properties of the tab. Wire the reference of the tab in the main VI to the tab reference subVI input.

Lucian
CLA
Message 2 of 4
(164 Views)

Hello,

 

I have put the reference in, but I cannot seem to color the main vi tab color.  Can you tell me what I am doing wrong?

Download All
0 Kudos
Message 3 of 4
(138 Views)
Solution
Accepted by topic author hiNI

Hi hiNI,

 


@hiNI wrote:

I cannot seem to color the main vi tab color.  Can you tell me what I am doing wrong?


You don't set the background color.

You set the foreground color twice…

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
Message 4 of 4
(129 Views)