Posted By
Laleh Tajrobehkar
11-04-2019 16:06
Found In
Egroup:
Facility Control
\
view thread
To change the color of a button, you need to set its style. Let's assume feedback you get from the Arduino is a string, you can then set the style of your button (e.g. coloredButton) based on the string value to color red like this: ogscript.setStyle('coloredButton', 'bg#ff0000'); The following ...
|