Jump to content
Sign in to follow this  
Rolstoelfreak

New line in Msgbox

Recommended Posts

Rolstoelfreak

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?

  • Like 1

Share this post


Link to post
Share on other sites
Confuzzled

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
  • Like 1

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  

×