html

Springer, Paul paul.springer at sensis.com
Thu Jun 3 08:24:54 EDT 2004


Thanks to all who answered; I can now get the results I was looking for. As
Brian pointed out, the key was 

a) use the <p> tag
b) don't try to use the htmlText property in this case.

-Paul

-----Original Message-----
From: Brian Yennie [mailto:briany at qldlearning.com] 
Sent: Wednesday, June 02, 2004 6:53 PM
To: How to use Revolution
Subject: Re: html

> If the prompt contains <p> or a start/end tag pair, the
> answer command assumes the text is in the same format as the htmlText
> property. Otherwise, the answer command assumes the text is plain text.
<pre>

I think this is the part that you missed, albeit maybe a bit obscure: 
you _must_ enclose your text in "<p>" and "</p>" in order for it to be 
interpreted as html.

So you're doing everything right in the first place, you just need to 
enclose your message in those tags.

Try:
answer "<p><b>This is the answer!</b></p>"

</pre>

HTH,
Brian

_______________________________________________
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