html
Mark Brownell
gizmotron at earthlink.net
Wed Jun 2 16:41:23 EDT 2004
On Wednesday, June 2, 2004, at 01:26 PM, Springer, Paul wrote:
> [snip]What I want to be able to do is something like this (to get a
> dialog box
> with bold text in it (or some other appropriate formatting)):
>
> answer "<b>This is the answer!</b>"
>
> This displays the answer dialog unformatted, with the tags.
> [snip]
> The documentation gives my hope when is says the following (under the
> description for Answer):
>
> Comments:
>
> The prompt can be either formatted text (in the htmlText property's
> format)
> or plain text. 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.
> -Paul
this works fine for me from the message window on a MacX:
answer "<p><i>This is the answer!</i></p>" & return & "<p><u>This is
the answer!</u></p>"
or :
answer "<p><i>This is the answer!</i></p>" \
& return & "<p><u>This is the answer!</u></p>"
Mark
More information about the use-livecode
mailing list