Page 1 of 1

How do you get multiline showmessage()?

Posted: Wed Jun 24, 2009 8:14 pm
by albert
I`m wondering how to get a multiline ShowMessage()

using ShowMessage "textline1 /n textline 2 /n textline3 /n etc.."

ShowMessage doesn`t acknowledge then /n.

How do you get multiline showmessage()?

Posted: Thu Jun 25, 2009 7:31 am
by fred
I don`t know if there are other solutions but this works:

ShowMessage "line1"+Chr$(10)+"line2"+Chr$(10)+"line3"

(Chr$(10) is the value for
newline)

How do you get multiline showmessage()?

Posted: Fri Jun 26, 2009 5:10 am
by albert
I got it working thanks, its in my SillyCypher program over on the files page.

I got version 2 working the exe is in the attachment.

How do you get multiline showmessage()?

Posted: Fri Jun 26, 2009 7:26 am
by fred
:)
if you want you can add a button copy to clipboard with something like this (re is RichEdit object)
re.SelStart=0
re.SelLength=len(re.Text)
re.CopyToClipboard
re.SelLength=0