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
multiple lines in maketext()
-
aaronw
- Posts: 571
- Joined: June 9th, 2016, 9:38 am
- Location: Washington, DC
Re: multiple lines in maketext()
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");