html formatting in a field
Mark Brownell
gizmotron at earthlink.net
Thu May 27 11:27:31 EDT 2004
On Thursday, May 27, 2004, at 08:16 AM, Springer, Paul wrote:
> I am struggling with HTML formatting of text in a field. I don't want
> to
> copy or import it, as described by the HTMLText field property
> documentation; I just want to put some HTML tags into the contents of a
> field and have the text displayed accordingly. I see that I can set the
> HTMLText property of a field to some html string, but I want to format
> different text portions differently, not the entire field with one tag
> string. Can I do that?
Try this:
1.) Create some formatted text in a text editor.
2.) Copy that formatted text to the clipboard.
3.) Paste it into a text field ( field "yourField" ) in Rev.
4.) In the message window enter this:
put the HTMLText of field "yourField" into field "yourField"
This way you can see the different kinds of HTML tags. Also see the
docs on HTMLText.
Mark
More information about the use-livecode
mailing list