Native.showAlert() Question???

Is there anyway I can do a line break in Native.showAlert's Text ?

yep, just use \n like this:

1
native.showAlert( 'testing' , 'line 1\nline 2\nline 3', { 'Ok' } )

Thanks also is there anyway to center it all?

I don't think there is any way to center the text in the native alert box, but I would be pleasantly surprised if an escape code to do that existed...

views:1686 update:2011/9/21 9:18:04
corona forums © 2003-2011