Home » Main » Manning Forums » 1999 » Practical LotusScript

Thread: Multi-Line Message Box

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Pages: 1 - Last Post: Sep 7, 2003 11:00 PM by: import-bot
import-bot

Posts: 20,296
Registered: 12/6/03
Multi-Line Message Box
Posted: Sep 1, 2003 11:00 PM
  Click to reply to this thread Reply

[Originally posted by mal]

I've created a multi-line message box in Notes 5 where I want each sentence to
display on a separate line using the following code...

response = Messagebox ("To reject the alternate dates proposed by the auditee
click YES." &_
"(You will then be able to re-issue this Audit Notice at a later Date)." &_
"Click NO to cancel the process & return to the Audit Notice in Read Mode"_
,68, "Reject Alternate Proposed Dates")...

This box will display the message box title, the message icon together with
the message text. However the message text does not wrap to the next line
because there are no carriage returns included in the script.... If I add the
Chr(10) function at the end of each respective line, ie. & Chr(10)_ the code
goes into error.
If I remove the message box icon number and message from the code, no more
error.

Can anyone help?


import-bot

Posts: 20,296
Registered: 12/6/03
Re: Multi-Line Message Box
Posted: Sep 2, 2003 11:00 PM   in response to: import-bot in response to: import-bot
  Click to reply to this thread Reply

[Originally posted by washinl]

Try:

response = Messagebox ("To reject the alternate dates proposed by the auditee
click YES." & chr(13) &_
"(You will then be able to re-issue this Audit Notice at a later Date)." &
chr(13) &_
"Click NO to cancel the process & return to the Audit Notice in Read Mode"_
,68, "Reject Alternate Proposed Dates")...


import-bot

Posts: 20,296
Registered: 12/6/03
Re: Multi-Line Message Box
Posted: Sep 7, 2003 11:00 PM   in response to: import-bot in response to: import-bot
  Click to reply to this thread Reply

[Originally posted by mal]


Yep! It works... Thanx Lisa


Legend
Gold: 300 + pts
Silver: 100 - 299 pts
Bronze: 25 - 99 pts
Manning Author
Manning Staff