Jump to content

Break row in MessageBox?


Recommended Posts

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

Link to comment
Share on other sites

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

Who needs puzzles when we have AutoIt!!

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...