Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi all, I have a simple example attached regarding my question. If I have a variable, which depends on the input condition. Can I set the text color or highlight of the output, to represent different input conditions? In this example, if my output displays "RIGHT", I want to set it to green; likewise, if the output is "WRONG", I want to set the text to red. Would anyone teach me how to do it? Thank you!
Solved! Go to Solution.
Here's a scripted component (two, in fact) that does what you want.
Here's a scripted component (two, in fact) that does what you want.
Hi Valery, thank you! Would you also share how you did it in the EXCEL file? I am not able to see your Excel expressions.
You can insert the Excel component and show two cells with different color:
Hi. Attached isn't what you want, but can be modify to get it. The attached use a picture tool with grayscale setup, but some color can be added defining the picture tool as RGB.
Best regards.
Alvaro.
Some color added.
Alvaro