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
(958 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
(917 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
(891 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 LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 4
(882 Views)