saldous Posted March 14, 2007 Share Posted March 14, 2007 If I have a lot of text to display in a MsgBox, how to I make it wrap or insert a return at the end of a line, at the moment I get one long box with all the text on one line. thanks. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 14, 2007 Developers Share Posted March 14, 2007 If I have a lot of text to display in a MsgBox, how to I make it wrap or insert a return at the end of a line, at the moment I get one long box with all the text on one line. thanks. "Line1" & @lf & "line2" SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Ram Posted March 14, 2007 Share Posted March 14, 2007 If I have a lot of text to display in a MsgBox, how to I make it wrap or insert a return at the end of a line, at the moment I get one long box with all the text on one line. thanks. Put " & @LF & " in between the word you want to display in the next line...!! something like this: $test= "This" & @LF & "is" & @LF & "a Test message." MsgBox (0, "0", $test) Link to comment Share on other sites More sharing options...
saldous Posted March 14, 2007 Author Share Posted March 14, 2007 Excellent, thank you Ram & JdeB. Link to comment Share on other sites More sharing options...
jokke Posted March 14, 2007 Share Posted March 14, 2007 (edited) And if you dont want the text to go for ever inn one line do this. Msgbox(64,'Infobox with x# of lines.', 'Mytext goes here'&@CRLF& _ 'someotherline of text'&@crlf& _ 'someotherline of text'&@crlf& _ 'someotherline of text'&@crlf& _ 'someotherline of text'&@crlf& _ 'someotherline of text'&@crlf& _ 'someotherline of text'&@crlf& _ 'someotherline of text'&@crlf& _ 'someotherline of text'&@crlf& _ 'someotherline of text') Edited March 14, 2007 by jokke UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now