|
|
|||||||
This is a sample of some message box code, I want to put "the time is currently..." on the next line. Does anyone know how to begin a new line in a message box. MESSAGEBOX("Good Evening @USERID , the time is curently @TIME am","Welcome Message",0,8) PS if someone could also tell me how display your own custom icon that would be cool too. |
||||||||
|
|
|||||||
try with: MESSAGEBOX("Good Evening @USERID ,@crlf the time is curently @TIME am","Welcome Message",0,8) |
||||||||
|
|
|||||||
You could use the @CRLF macro to insert a 'new line' or use the CHR(13)+CHR(10) combination which would create the same effect. Thus: code:And no, you cannot use custom icons unless you start hacking the appropriate resource files for the message box.$rc=MESSAGEBOX('Good Evening @USERID,'+@CRLF+'the time is curently '+@TIME,'Welcome Message',0,8) |
||||||||
|
|
|||||||
Thanx a bunch you all were a great help. PS how would I hack an icon file where are they kept. |
||||||||
|
|
|||||||
What about a center justification in the message box any macro's or do I just have to press the space bar a bunch of times |
||||||||
|
|
|||||||
That's also something you'll ahve to do manually. Though, you could write a custom UDF for this that centers a string. |