html formatting in a field
Springer, Paul
paul.springer at sensis.com
Thu May 27 11:37:46 EDT 2004
Thanks Mark. This does give me text with html formatting tags, but what I
want displayed is the formatted text, as it would show up in a browser, not
the tags. I just want to use tags to format it.
-Paul
-----Original Message-----
From: Mark Brownell [mailto:gizmotron at earthlink.net]
Sent: Thursday, May 27, 2004 11:28 AM
To: How to use Revolution
Subject: Re: html formatting in a field
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
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list