LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab control color

It seems that the color of the tab control in LV7.1 does not match exactly to the choosen color. Instead, it seems to change in increments of 2 or so. How can I set the tab control color to match exactly to a gray value "179" (the "classic" control color)? I would like to place a picture on the tab control that come with a "179" background.

Thanks,

Dirk
0 Kudos
Message 1 of 4
(3,081 Views)
Create a property node for the Tab Control.
Select the Colors property and change to write.
Make a control for this property.
Set the foreground and background colors by color number in the control.
0 Kudos
Message 2 of 4
(3,052 Views)
Thanks, but that does not seem to work either. It seems that the color set of the tab control, i.e. the edges, the front area etc. is being calculated from the color selection, either by property node or directly. When I check the color of the tab control after copy/paste into a picture editing software I still get only a gray color value of "178" or "180", not the wanted "179". The difference is hardly visible (thus it is not extremely important), but it is there...

Thanks anyway,

Dirk
0 Kudos
Message 3 of 4
(3,039 Views)
Another idea would be to use the classic Tab-Control instead of the 3D-Style Tab Control. It has another colring, maybe this has the right color for you. You can find the classic Tab Control on Controls-->All Controls-->Classic Controls-->Classic Containers
0 Kudos
Message 4 of 4
(3,015 Views)