I want to dynamically set the background color of some of my text fields. I have the code to change the fillcolor:
var f = this.getField("GC"
;
color.tan = new Array("RGB", 252, 232, 194); -- this won't work!!
f.fillColor = color.tan;
However, I don't know how to create the color I want. I think you can send in an array and set the RGB color but this line doesn't seem to work.
Can anyone help me?
var f = this.getField("GC"
color.tan = new Array("RGB", 252, 232, 194); -- this won't work!!
f.fillColor = color.tan;
However, I don't know how to create the color I want. I think you can send in an array and set the RGB color but this line doesn't seem to work.
Can anyone help me?