Jump to content
Sign in to follow this  
bills

Break row in MessageBox?

Recommended Posts

bills

How do i get multiple lines in a messagebox?

#Include <date.au3>
$starttime = _DateTimeFormat( _NowCalc(),0)
$Number = 6
Sleep(3000)
MsgBox(0, "testing time and breakrow", 'Starttime:' & $starttime & <br> & 'Display number:' & $Number & <br> & 'EndTime:' & _DateTimeFormat( _NowCalc(),0))

What im trying to do here is set the starttime to $starttime and when the messagebox appears show starttime on one row, display a text and number on the second, and display for the messagebox actual time on the third row.

Any ideas?

//Bill

Share this post


Link to post
Share on other sites
Rick

MsgBox(0, "testing time and breakrow", 'Starttime:' & $starttime & @CR & 'Display number:' & $Number & @CR & 'EndTime:' & _DateTimeFormat( _NowCalc(),0))


Who needs puzzles when we have AutoIt!!

Share this post


Link to post
Share on other sites
bills

Thanks! What does @CRLF mean and do?

Share this post


Link to post
Share on other sites
Rick

Thanks! What does @CRLF mean and do?

Have a look at the helpfile , its all in there.


Who needs puzzles when we have AutoIt!!

Share this post


Link to post
Share on other sites
bills

Ok Thanks!

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  

×