I'm guessing the opaque property of the fields is true - try setting it false and see what happens. Also just made another post with a way to do this without setting any line colors.
Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Mon, Mar 10, 2014 at 1:59 PM, Terence Heaford <t.heaf...@btinternet.com>wrote: > 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 > _______________________________________________ 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