Adding lines of text to text field

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Nomi
Posts: 19
Joined: Wed Feb 27, 2008 4:08 pm

Adding lines of text to text field

Post by Nomi » Sun Mar 09, 2008 6:33 pm

I'm fairly new to Revolution, so I suspect this is an easy thing to fix, but I'm having no luck with it :)

I have a text field, where I want to put a line of text. That works great. Now I want to go down one line and add another line of text etc.

I can't seem to figure out how to add a line feed when adding a line of text.

Any help would be great :)

- Noel

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Sun Mar 09, 2008 6:52 pm

try this:

Code: Select all

put return & "new line" after field 1
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

Nomi
Posts: 19
Joined: Wed Feb 27, 2008 4:08 pm

Post by Nomi » Sun Mar 09, 2008 6:57 pm

Perfect!

I knew it was something simple :)

Thanks!

- Noel

Post Reply