LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with background color of a disabled control

Solved!
Go to solution

I have some controls on top of a colored raised box. When I disable and grey the control (round button) an unwanted change occurs in the background color of the control- it gets surrounded by a grayish version of the raised box color. I would like the background to stay the same as it does on the default grey panel.

 

I have looked through all the properties, but can't seem to change this behavior.

0 Kudos
Message 1 of 5
(3,302 Views)

Hi,

 

Could you attach a picture of the behaving or even the VI itself?  

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
0 Kudos
Message 2 of 5
(3,296 Views)

Thanks Even,

 

example code attached...

 

kind regards,

 

Julian Phillips

0 Kudos
Message 3 of 5
(3,281 Views)

The color of the disabled control is based on the color of the container it is in (i.e. the front panel) and is not based on the object it just happens to be laying over top of.

 

See http://forums.ni.com/t5/LabVIEW/How-to-separate-detach-a-control-indicator-from-its-container/m-p/97....

Message 4 of 5
(3,274 Views)
Solution
Accepted by topic author JPP

Thanks for the link, looks like it may have been fixed now for tab controls (?) but not decorations. The solution is to use a single page tab control with no tab, instead of a raised box. The difference in behavour can be seen in the attached, if one looks very carefully there is still a small amount of color change surrounding the disabled control on the tab.

Message 5 of 5
(3,265 Views)