Jump to content

New line in Msgbox


Recommended Posts

Hey all,

Just a quick question. Is there a command to start a new line in a messagebox?

So for example Msgbox (0, "title", "text on first line" & \n & " text on second line")

Is this possible?

Cutted and posted directly from the help file:

@CR Carriage return, Chr(13); sometimes used for line breaks.

@LF Line feed, Chr(10); typically used for line breaks.

@CRLF = @CR & @LF ;occasionally used for line breaks.

So your code would be Msgbox (0, "title", "text on first line" & @LF & " text on second line")

;)

Edited by Confuzzled
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...