Hello, (Code Composer 6.0.1.00040)
I have a working gui composer application that makes heavy use of the simple textbox widget to display numerical values from the TI target processor.
I am using the pre and post processing functions to scale the value OK, and the format function (e.g. %.03f)
The color setting in the fonts/text part of the widget settings appears to be fixed.
Is there a way to change the font color based on a test of the global value?
e.g. some logic like below (value is global variable read from target)
if (value > 4.1) setFontColor(Red)
else if (value < 3.6) setFontColor(Green)
else {} // do nothing, use the default widget font color setting.
If not in GUI composer, then by modifying the html, json or other project files directly?
Regards,
Richard
PS I'd like to suggest creating a separate GUI composer forum for easier learning from existing topics.