Hello,
I wish the Ignition documentation is clearer about what value to use for the scripting function like ".foreground"
> event.source.parent.getComponent('notLbl').foreground = "green"
I tried using hex > "#fff", rgb > "255,255,2555", and the actual color name > "white" but it still gives me this error.
Traceback (most recent call last):
File "event:actionPerformed", line 20, in
TypeError: can't convert 'white' to java.awt.Color
Maybe this is so simple, but just frustrating that I cant find it anywhere how to do this.
thanks for any help.