02-29-2012 10:01 PM
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.
Solved! Go to Solution.
03-01-2012 01:27 AM
Hi,
Could you attach a picture of the behaving or even the VI itself?
03-01-2012 05:57 PM
Thanks Even,
example code attached...
kind regards,
Julian Phillips
03-01-2012 09:02 PM
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.
03-01-2012 09:59 PM
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.