Formatting answer dialog box text
J. Landman Gay
jacque at hyperactivesw.com
Sun Feb 7 15:44:27 EST 2010
Bill Vlahos wrote:
> I can figure out how to format the prompt text but not the button choices.
> This script gives me a nice looking dialog box with the single OK button.
> on mouseUp
> answer question "<b>This is header in bold.</B><br><i>This is in italics.</I><br>"& \
> "<p>Option A<br> or <br>Option B<br></p>"
> end mouseUp
> How would I add the "with statement" to get two buttons. Without the formatting it would be
> ...with "Option A" or "Option B"
Don't include the html formatting in your button choices. Sometimes it
is easier to put the prompt into its own variable first:
put ""<b>This is header in bold.</B><br><i>This is in italics.</I><br>"
answer question tPrompt with "Option A" or "Option B"
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the Use-livecode