LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically changing page color in a tab control

Solved!
Go to solution

As best I can tell, you can change colors of individual pages in a Tab Control manually (if you have the Allow Multiple Colors property set True), but you can't do so programmatically.

 

For my particular application there is only one page color I need to change, so I can get the effect by setting up the colors I want manually and toggling Allow Multiple Colors on the Tab Control as needed, but I'm wondering if there is a better solution out there.

 

Thanks,

Kyle

CLD using LV, DSC 8.5-2009, RT 8.5
Ghoti!
0 Kudos
Message 1 of 4
(7,100 Views)
Solution
Accepted by topic author Kyle Smith

Sure you can:

 

Not sure whether you're trying to change the background or foreground color.

Message Edited by smercurio_fc on 01-23-2009 11:41 AM
Message 2 of 4
(7,094 Views)

Kyle

 

You can programmatically change the individual page colors.

First get the  pages references, select the page you want to change then using the page color property change the color.

 

Visualize the Solution

CLA

LabVIEW, LabVIEW FPGA
Message 3 of 4
(7,091 Views)

Thank you both. I hadn't known how to pull out individual page references. D'oh.

 

Kyle

CLD using LV, DSC 8.5-2009, RT 8.5
Ghoti!
0 Kudos
Message 4 of 4
(7,084 Views)