Sign in to follow this  
Followers 0
cvocvo

Multiline Msgbox in multiple lines of code

3 posts in this topic

I know how to make a multiline msgbox, but I can't figure out how to split the msgbox into multiple lines of code.

Here's what I have that works:

MsgBox(4, "", "If the following information is correct, click 'OK' to continue, otherwise click 'CANCEL'." & @CRLF & "othertext" & @CRLF & "more text" & @CRLF & "even more text")

From a code standpoint I want something like this:

MsgBox(4, "", "If the following information is correct, click 'OK' to continue, otherwise click 'CANCEL'." & @CRLF
& "othertext" & @CRLF
& "more text" & @CRLF
& "even more text")

I know this is possible because I have seen it done a while ago, but I can't find how to accomplish this.

Thanks

Share this post


Link to post
Share on other sites



MsgBox(4, "", "If the following information is correct, click 'OK' to continue, otherwise click 'CANCEL'." & @CRLF _
& "othertext" & @CRLF _
& "more text" & @CRLF _
& "even more text")

Share this post


Link to post
Share on other sites

Thanks, that'll do it. I tried with the _ at the beginning of each line but that obviously didn't work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0