09-24-2008 01:10 AM - edited 09-24-2008 01:19 AM
Hello.. 🙂
i'm working on VI where i need to give decision as ok / reject.. i used some indicators... i assign green color for on & red color for off... i want those indicators appear transperant as default.. but don't want to use visible property.. i tried indicator's color property but it's not working properly.. it's making on & off color same...can anybody please tell me how to do this...?
thanks in advance.. 🙂
duplicate message by mistake ..
09-24-2008 01:42 AM
09-24-2008 01:55 AM
Hi Rupali,
I think you need to clarify a bit.
09-24-2008 02:12 AM
09-24-2008 02:34 AM
You can modify the color at runtime by writing to the Colors[4] property.
As long as there is no decision make sure the value is false and set the false color (index 0) to transparent. As soon as there is a decision, change the false color to red and set the boolean value.
If you just use it as a status indicator it might be simpler to use a color box indicator and write the color value to it.
09-24-2008 02:40 AM
09-24-2008 02:51 AM
The attached code shows how to make the false value transparent.
To use the color again, replace element 0 with red.
09-24-2008 03:06 AM - edited 09-24-2008 03:07 AM