Jump to content
Sign in to follow this  
Guest bcinst2005

Multiple Lines - MsgBox

Recommended Posts

Guest bcinst2005

i want a message box to pop up and display multiple lines...

MsgBox(48, "Passwords", "Text Lines 1 Text Line 2")

I want the "text line 1" and "text line 2" to be on their own lines like

Text Line 1

Text Line 2

Is it possible with MsgBox? or do i have to use something else?

Thanks!

Share this post


Link to post
Share on other sites
Valuater

here ya go...

$T1 = Test Line 1

$T2 = Test Line 2

MsgBox(48, "Passwords", "Text Lines 1 = " & $T1 & @CRLF & "Text Line 2 = " & $T2)

hope it works... done on the fly

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
layer

Easier

MsgBox(48, "Passwords", "Text lines 1" & @CRLF & "Text lines 2")

FootbaG

Share this post


Link to post
Share on other sites
Guest bcinst2005

thank you! worked perfectly!

Share this post


Link to post
Share on other sites
herewasplato

MsgBox(0,"AutoIt",_
         "If the text lines that you want to write are long," & @CR &_
         "...you might consider using the line continuation feature." & @CR &_
         "" & @CR &_
         "This makes things look better in your editor." & @CR &_
         "" & @CR &_
         "You can skip lines as shown above or..." & @CR &_
         "...use two or more carriage returns at the end of a line" & @CR & @CR & @CR &_
         "                                 The End.")


[size="1"][font="Arial"].[u].[/u][/font][/size]

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  

×