LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Change colour of selected tab in a tab control

Solved!
Go to solution

I'm not very familiar with images on tabs (I just tried and couldn't figure out how to set one), but I'm pretty sure they can not be changed at run time. 

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 11 of 14
(1,027 Views)

I can set an image for the tabs, but as you said, I cannot figure out if it is possible to change on run-time. Perhaps my solution will be to set an image, and change the color of the tab on run-time to give a hint of shadow effect, so the user is notified what tab is active.

LabVIEW 8.6 / 2009 / 2010
Vision Development Module 8.6 / 2009 / 2010
VBAI 3.6 / 2010
0 Kudos
Message 12 of 14
(1,013 Views)

Hello,

 

The solution works for Modern tab but the case seems different for classic controls. Any recommends? The NewVal, OldVal works vice versa. The border of the tab is effected as well.

 

Cheers,

 

Ozgur

0 Kudos
Message 13 of 14
(576 Views)

I can't tell if there's a question in that response.  The border of the tab is set by the FG Color property, as you probably noticed

--
Tim Elsey
Certified LabVIEW Architect
0 Kudos
Message 14 of 14
(557 Views)