Page 1 of 1

go to the next line in an edittext box ?

Posted: March 1st, 2006, 1:46 pm
by calier
does anyone know if there is a way to go to the next line in an "edittext" box ?

the usual "\n" is simply ignored ... bug ? :(

thanks

multiline edittext

Posted: March 1st, 2006, 8:14 pm
by redefinery
Hi calier,

Use \r\n, and specify the multiline arg after the string, as in:

..., "line one\r\nline two", {multiline: true});

Hope this helps.

Jeff

Posted: March 2nd, 2006, 11:36 am
by calier
:D Awesome it works ! Thank you very much for your help