multiple lines in maketext()

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
Ali
Posts: 19
Joined: June 6th, 2019, 4:43 am

multiple lines in maketext()

Post 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
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: multiple lines in maketext()

Post 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");
Post Reply