Skip to first unread message

Roc Ky

unread,
Jun 18, 2015, 1:03:55 AM6/18/15
to mitappinv...@googlegroups.com
hi guys hope you guys could help me.... well lets here, does anyone know how to do a  "new line" in app inventor 2... i thought i was \n but it doesnt work could anyone please tell me.

SteveJG

unread,
Jun 18, 2015, 8:16:19 AM6/18/15
to mitappinv...@googlegroups.com
Where are you trying to introduce a new line Roc?      In a label?

set label1.text to   hello\nmy name is\nRoc will display as
hello
my name is 
Roc

You can also display multi-line text in a Button.    set Button1.Text to   New\nLine   results in a button displaying 
New
Line


Is that what you want to do?       In a TextBox, you set the multi-line property to true.

What do the blocks look like that you tried and where you think \n did not work?

Regards,
Steve
Reply all
Reply to author
Forward
0 new messages