rfresh Well-Known Member Licensed User Longtime User Mar 22, 2012 #1 Can I insert a newline char in a msgbox sting? I tried \n but that didn't work. Thanks...
JonPM Well-Known Member Licensed User Longtime User Mar 22, 2012 #2 CRLF? Sent from my DROIDX Upvote 0
rfresh Well-Known Member Licensed User Longtime User Mar 22, 2012 #3 My code below doesn't work. I tried & and that didn't seem to work either. I'm trying for this kind of format in a msgbox: This is some text. This is more of the same text. And this is even more text. B4X: Msgbox("text" + CRLF + CRLF + "2222","Title") Upvote 0
My code below doesn't work. I tried & and that didn't seem to work either. I'm trying for this kind of format in a msgbox: This is some text. This is more of the same text. And this is even more text. B4X: Msgbox("text" + CRLF + CRLF + "2222","Title")
Gianni M Well-Known Member Licensed User Longtime User Mar 22, 2012 #4 message = "first line" & CRLF & CRLF & "second line" msgbox(message,"") Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2012 #5 You should use & instead of + for string concatenation. Upvote 0
M molder26 Member Licensed User Longtime User Jun 28, 2012 #6 hi guys, ToastMessageShow have some newline char? Regards Upvote 0
M Mahares Expert Licensed User Longtime User Jun 28, 2012 #7 The below code will split the message in 3 lines for you. B4X: ToastMessageShow("Hi Molder26" & CRLF & "How are things in your country?" _ & CRLF & "Have a good day.",True) Upvote 0
The below code will split the message in 3 lines for you. B4X: ToastMessageShow("Hi Molder26" & CRLF & "How are things in your country?" _ & CRLF & "Have a good day.",True)