How to properly format text in sheet on OS X?
Dar Scott
dsc at swcp.com
Tue Aug 19 15:01:01 EDT 2003
On Saturday, August 16, 2003, at 07:18 AM, Brian K. Maher wrote:
>
> answer warning "<font face='Lucida Grande' size='13'><b>message
> text</b><br><br></font><font face='Lucida Grande'
> size='11'>informative text</font>" with "Continue" as sheet
Severe Wrap Warning!
on mouseUp
put "<font face='Lucida Grande' size='13'><b>message
text</b><br><br></font><font face='Lucida Grande' size='11'>informative
text</font>" into x
replace "'" with quote in x
answer warning x with "Continue" as sheet
end mouseUp
The message text looks bigger than the informative text to me for this
example.
If you need a lot of quotes, consider format with just the format
string to insert the quotes. The string constant parsing goes into a
special mode in the context of the format function. For example:
get format("<font face=\"Lucida Grande\" size=\"13\">")
Who woulda thought?
Dar Scott
More information about the use-livecode
mailing list