linebreak in text

Phil Davis davis.phil at comcast.net
Wed Apr 27 20:06:51 EDT 2005


Varen Swaab wrote:
> Hi everybody,
> 
> I know this is probably a really simple matter but I'm trying to take 
> this line of code:
> 
> put session_name&&"on date"&&session_date into fld "message"
> 
> and display it so there is a line break before the words "on date", 
> then, to make it more complicated, I'd like to change the size of the 
> font for the first word only.

Hi Varen,

Try using 'cr' or 'return' to create line breaks, like this:

put session_name & cr & "on date" & session_date into fld "message"
set the textSize of word 1 of fld "message" to 72 -- ha ha

Phil Davis


More information about the use-livecode mailing list