Formatting answer dialog box text

Bill Vlahos bvlahos at mac.com
Sun Feb 7 16:25:24 EST 2010


Perfect. Thank you.

Bill Vlahos
_________________
InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.

On Feb 7, 2010, at 12:44 PM, J. Landman Gay wrote:

> 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>" into tPrompt
> answer question tPrompt with "Option A" or "Option B"
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list