Page 1 of 1

multiple lines in maketext()

Posted: July 8th, 2019, 8:46 am
by Ali
Hi Everyone;
I just wanted to write a message to be displayed in multiple lines using maketext() and accept(). It is very helpful for a long text message.
EX.
string message = maketext("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", X1, X2, X 3, X4, X5, X6);
numeric choice = accept(message,
"Fix -------------",
"Fix -------------",
"Fix -------------",
"Fix -------------",
"Fix --------------",
"Fix -------------");
Thanks;
Ali

Re: multiple lines in maketext()

Posted: July 8th, 2019, 11:55 am
by aaronw
The accept dialog will either scroll (Windows) or wrap (Android). However, if you're using an error message you can create newlines like this:
errmsg("line 1\n line 2\n");