Thanks for your help. It did not work initially but a bit of google identified the # is not required with RGB colours.
However, when using this it only colours the bgcolor behind the text and not the whole field. Here is my test script. put "255,255,255" into tFontColor put "62,117,215" into tBackColor put "This is my text" into tText put merge("<font color=[[quote]][[tFontColor]][[quote]] bgcolor=[[quote]][[tBackColor]][[quote]]> [[tText]] </font>") into tHTML set the htmlText of fld "result" to tHTML As it’s HTML I am assuming it’s not possible to colour the whole field using this method? All the best Terry On 10 Mar 2014, at 20:04, Peter Haworth <p...@lcsql.com> wrote: > So using one of your examples you would set the htmltext of field x to > "<font color="#255,255,255" bgcolor="#62,117,215"> this is my text </font> _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode