More options inside answer window

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
samjith
Posts: 85
Joined: Tue Mar 31, 2015 10:09 am

More options inside answer window

Post by samjith » Fri Sep 18, 2015 12:25 pm

Hi,

Is there any option to set font color, font size, etc inside an answer/ask window.

eg: If I want to show "Are you sure?" in color red and text size 20 inside answer window


thanks
Sam

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: More options inside answer window

Post by dunbarx » Fri Sep 18, 2015 1:43 pm

You might read this thread:

http://forums.livecode.com/viewtopic.ph ... og#p129936

Craig Newman

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: More options inside answer window

Post by shaosean » Fri Sep 18, 2015 2:25 pm

You can style the question using HTML.. Paste the following code in to the message box to see..

Code: Select all

answer "<p><font size='20' color='#FF0000'>Are you sure?</font></p>"

samjith
Posts: 85
Joined: Tue Mar 31, 2015 10:09 am

Re: More options inside answer window

Post by samjith » Tue Sep 22, 2015 5:06 am

Works fine. Thanks :D

Post Reply