colors in scrolling text field

Ken Ray kray at sonsothunder.com
Tue Aug 23 18:50:27 EDT 2005


On 8/23/05 4:58 PM, "Jon" <jbondy at sover.net> wrote:

> Your response is, as usual, excellent.  Except that, as I said, I did
> try putting HTML into a scrolling field, and all I got was the typical
> HTML garbage on the screen; the HTML commands were not interpreted
> correctly.  Do I have to put the HTML someplace special, or enable it
> somehow?

Jon, you don't put the HTML in the field, you "set the htmlText" of the
field to the HTML, as in:

  put "This is <b>bold</b>" into tHTML
  set the htmlText of fld 1 to tHTML

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com





More information about the use-livecode mailing list