09-04-2009 12:23 PM
Well I think you have either won shiny new CAR or I will learn something when someone explains what is happening.
It appears the transparent portions of the boolean push-button behave badly what over-top of a system tab control.
NI,
I forget the formal syntax I supposed to use to invoke an Application Engineer, but could you pretend I worded it properly and take a look and why the boolean looks weird over a system tab control.
Ben
09-04-2009 12:35 PM - edited 09-04-2009 12:38 PM
Harold,
What you said is what I mentioned as two options I have left, above-
Now I think I should either change the front panel color (which is not good, because as I mentioned earlier, the tab is "system" type, and it looks white on my computer with Vista, but may look gray on XP or 2000 and in that case the front panel color will stay white, meaning white shadow of the disabled indicator); or not make the indicator "disabled and grayed" (which means making compromise with my application).
But changing the background to white won't solve the problem, because if the program is run on XP/2000 or any other system, the "system" type tab control would appear gray/brown or whatever, and this object would become white (uglier situation than now, I suppose).
Ben,
shiny car sounds fantastic. But I think the issue lies, as I suspected and as Harold mentions, in the front panel color. The indicator, being detache from tab, has adapted to the front panel color.
My conclusion is that an indicator, while disabled and grayed out, adapts to the color of its container (in my case the front panel), because when it was on the tab (white - system) even when disabled, it remained with transparent background.
I am now trying to get back to the "modern" tab. But it doesn't. 😞 It's a TypeDef. And I am trying to modify the control in the control file, and it doesn't. 😞 Any idea?
09-04-2009 12:35 PM
I thought I remember reading about a similar problem a long time ago. Something where the disabled grey did not look quite right on another grey. Check out these links. I hadn't read them before, but they do sound similar.)
http://forums.ni.com/ni/board/message?board.id=170&message.id=14130&query.id=89108#M14130
http://forums.ni.com/ni/board/message?board.id=170&message.id=22819&query.id=89108#M22819
09-04-2009 12:43 PM - edited 09-04-2009 12:45 PM
using a cluster should work for you
sorry I tried it and it still didn't seem to work
09-04-2009 12:50 PM
using a cluster should work for you
Yea, on this thread (http://forums.ni.com/ni/board/message?board.id=170&message.id=22819&jump=true as shown by Ravens Fan) it says the same thing. But I donno what does it mean?
sorry I tried it and it still didn't seem to work
then, why would u think it should work for me? 😄
09-04-2009 12:56 PM
That link that ravens Fan found by Greg McKaskle was indicating that putting the control in a cluster container that was in-turn colored transparent shoulod work. I treid that and I still get that weird look when disabled.
I set the cluster background to system white adn it looks better but don't know if it will be Ok on VISTA etc.
See attached LV 2009 version.
Ben
09-04-2009 12:59 PM - edited 09-04-2009 01:02 PM
in vista it looks great great job ben
and yes it does have a hint of grey still hmmm
09-04-2009 01:06 PM
and while editing the message, u missed to re-attach the file Harold. (does this bug of "broken attachment while editing message" lead me to some shiney prize??)
I guess, in any case, it would give some "bad" look if the tab and front panel are of different colors. Can anybody pay attention to the updated question - "how can I change my tab control (type def) back to Modern from system?"
It is stubborn.. Simply doesn't give in. 😞
09-04-2009 01:37 PM
One idea, I can't try as a have no vista:
Make a Custom Control (try Strict Type def) and use the System Palette to color the background of the ctl window.
Felix
09-04-2009 02:40 PM
F. Schubert wrote:One idea, I can't try as a have no vista:
Make a Custom Control (try Strict Type def) and use the System Palette to color the background of the ctl window.
Felix
Ok, I made a Strict Type def. of the indicator we're talking abt. And in the ctl window, I changed the background of the front panel. Seemed to me like the right shot.
But, doesn't work. And this time I am surprised. Because it just didn't change the indicator's background to white while disabled and grayed out. Strange. It's strict type def.
And as a last weapon, I even changed the color of the control's background (in the ctl window) .. like a hard coded (the system white color) and even then while running the vi, it kept the indicator with gray background (like the front panel) while disabled/grayed out mode.