09-20-2013 01:51 AM
Hi guys I want to know if it is possible to change the color of the string indicator twice depending on the input. For example on the same string indicator I want the red color when the result of the test is False and the green one when the test is passed. Is it possible?
Solved! Go to Solution.
09-20-2013 01:57 AM
You can change it as many times as you want using a property node. You can change the font color, background color, or both.
09-20-2013 02:08 AM - edited 09-20-2013 02:12 AM
hi alten could you please provide me an example?Thank you
I see how to change the colour of the written but I don't know the number that correspond to each color.
09-20-2013 02:15 AM
Use a colorbox constant instead of a numeric!
09-20-2013 02:22 AM
mmm I tried in this way:
128 should be green.... but doesn't work
09-20-2013 02:22 AM
09-20-2013 02:26 AM - edited 09-20-2013 02:29 AM
oh nice but one more question how have you created that colored square?
Thank you
EDIT: you used the color box. I have never seen it before. Thank you for your help 🙂
09-20-2013 02:28 AM
@inuyasha84 wrote:
128 should be green.... but doesn't work
Why? Green is 065280. It is easier of you set the display format to hexadecimal. Green is 00FF00.
Still, using a colorbox constant is much easier to use. It can be found in the "graphics&sound...picture functions" palette.
(See also this old idea)
09-20-2013 02:30 AM
Yea I have edited my last message.
Thank you for your help. I'll give a look also to your last link