on 08-25-2006 8:22 PM
\n doesn't work.
Is there any trick for me to add make a Message in MultiLines ?
I tried \r, \n, Environment.NewLine which is the same as \n anyway, and the message doesn't appear if I put any of these.
Mess = "This is a test...\n";
Mess += "To see if a multiline text works...";
int iReturnValue = SBO_Application.MessageBox(Mess, 2, "&Yes", "&No", "");
This doesn't show anything and go right through the line.
but just one line works
Already answered in another thread. Add a space after the \n
"like...\n "
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you are at SAP 2005 SP01 there is a problem with a newline at the end of your message text. This can be solved by putting a space at the end. Otherwise, you can you \r\n to insert a newline in your message.
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This work for me (SBO2005A SP01):
sboApplication.MessageBox("Test" + Environment.NewLine + "Test2",1,"Yes","No","");
Also tried your test code... works too.. What SBO-version do you use?
Result: http://www.rwj.dk/sdn/multiline.jpg
<i>Kind Regards
Rasmus Wulff Jensen | http://www.b1up.net</i>;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.