Hello, I have a school project which requires me to make a game, I decided to do it with livecode, but thing is, from the projector the "answer" text is barely visible, I tried to use the <font> html tag but it gives me an error for some reason.
Thanks in advance.
Making an "answer" text bigger
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Making an "answer" text bigger
Hi.
Since everything is a stack in LC, including the answer dialog, you sure can. Try this, and get familiar with HTML tags.
Craig Newman
Since everything is a stack in LC, including the answer dialog, you sure can. Try this, and get familiar with HTML tags.
Code: Select all
on mouseUp
answer "<p><font size='40' >Are you sure?</font></p>"
end mouseUp
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Making an "answer" text bigger
When reporting an error to the readers here it's always helpful to note what the error was.
As Craig noted, htmlText can be used but only when provided in a fully valid form, that is beginning with "<p>" and ending with "</p>". In between you have the full capabilities of LiveCode's fields available to you - see the Dictionary entry for the htmlText property for details.
As Craig noted, htmlText can be used but only when provided in a fully valid form, that is beginning with "<p>" and ending with "</p>". In between you have the full capabilities of LiveCode's fields available to you - see the Dictionary entry for the htmlText property for details.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn