LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is dimmed control colour bug fixed in CVI 7.0?

Can NI confirm whether the dimmed control bug in CVI 6.0 and earlier whereby the hatch colour is taken from the background panel and not the decoration below the control has been fixed in CVI 7.0?
0 Kudos
Message 1 of 9
(3,675 Views)
No, that fix is not in CVI 7.0. Unfortunately, that display bug was not reported to us until half way through the beta program and we were not able to get it fixed for this release.

Best Regards,

Chris Matthews
National Instruments
Message 2 of 9
(3,675 Views)
Thanks Chris.

What about the problem with classic style menu ring arrows not being displayed? I recall this as a problem when importing apps from earlier versions of CVI and only being able to solve it by creating the control programmatically.

Regards

Jamie Fraser
0 Kudos
Message 3 of 9
(3,675 Views)
"...when I dimmed a control it takes a variant color based on the color of the background and not on the color of the decoration which is just below.

Try that:
Create a panel, make its background color a beautiful purple.
Create a decoration, and make it a good old flashy green.
Now create a control on the panel, position it on the decoration, and dimmed it; you will see the control color based on purple and not green.
..."

-posted on 1/28/2002

That was 19 months ago...
0 Kudos
Message 4 of 9
(3,675 Views)
Yes, I think I found the problem report you are referring to and it was fixed in CVI 7.0. If you have something that replicates the problem I could check it for you just to make sure.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 5 of 9
(3,675 Views)
Sorry, we must not have seen the issue and identified it as a bug at that time. It was reported to our R&D in May 2003. This forum is monitored by NI applications engineers, but it is a user forum. If you want to make sure that we have recieved a bug report, please contact us directly via phone or e-mail.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 6 of 9
(3,675 Views)
Chris,

Sorry to labour this point. You posted this reply in response to florent.d's query on 1/28/2002:

"The only workaround for this would be to change the colors yourself with SetCtrlAttibrute and swallow the controls events to disable it with your own desired graphics effect."

However, I could not find a documented attribute that would change the hatch colour to any particular RGB value. If you can advise on the attribute macro definition (or the actual value if it is not #defined) then a simple workaround will be possible. I recall looking in the header file at all the macro defs but didn't find anything that looked appropriate.

Regards

Jamie Fraser
0 Kudos
Message 7 of 9
(3,675 Views)
Your right. There isn't a attribute exposed to set the dimmed color. You would have to do this with your own graphics effects using a canvas overlayed on the controls with transparency.

Chris
0 Kudos
Message 8 of 9
(3,676 Views)

For the record, the way controls are dimmed has been changed in CVI 8.0 and they now look right when on coloured decorations, although you have to be a little careful with your choice of text and background colour for the best results.

Jamie Fraser

0 Kudos
Message 9 of 9
(3,573 Views)