03-20-2010 12:08 PM
I would like the color of text to change depending on a different value. How can I do this in Lookout?
I've tried finding connections to text inserts and expressions but haven't been successful.
Thanks,
Dave
Solved! Go to Solution.
03-21-2010 08:40 PM
Edit the text display property, set Background Style as "Transparent".
Create a Gauge object. It is able to change color on different conditions. Put the Gauge above the text display.
07-14-2010 10:40 AM
I have tried this before but it didn't work. Can you explain better?
07-15-2010 08:22 PM
This way actually doesn't change the text color, but change the background color of the text. You know the Gauge is able to change color. If a TextEntry object is transparent, you will just see the text. Put the Gauge and TextEntry together, and move the TextEntry to front.
Take a look at this example.
http://zone.ni.com/devzone/cda/epd/p/id/1215
07-16-2010 04:34 PM
If you want the text color to change you can 'stack' expressions with different colored text or have a static base text and an overlying expression with colored text. The attached example might make what I’m trying to describe a little clearer.