Kaso Posted November 2, 2005 Share Posted November 2, 2005 I remember reading something about it but I could not find it. How do you get the text to appear on a 2 lines? for example: Usermane: user Password: pass Anyhelp would be appreciated MsgBox ( flag, "title", "text" [, timeout] ) Link to comment Share on other sites More sharing options...
BigDod Posted November 2, 2005 Share Posted November 2, 2005 I remember reading something about it but I could not find it. How do you get the text to appear on a 2 lines? for example:Usermane: userPassword: passAnyhelp would be appreciatedMsgBox ( flag, "title", "text" [, timeout] )Try thisMsgBox(4096, "Test", "This box will" & @CRLF & "time out in 10 seconds", 10) Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Nuffilein805 Posted November 2, 2005 Share Posted November 2, 2005 damnit why do you get the easy stuff my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
BigDod Posted November 2, 2005 Share Posted November 2, 2005 damnit why do you get the easy stuff Thats the only ones I can answer, plus I hit refresh a lot. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Nuffilein805 Posted November 2, 2005 Share Posted November 2, 2005 ok, thats a bonus my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Kaso Posted November 3, 2005 Author Share Posted November 3, 2005 Try thisMsgBox(4096, "Test", "This box will" & @CRLF & "time out in 10 seconds", 10)-thanks I will give that a try. I have lots of other easyones bigdod that you can answer Link to comment Share on other sites More sharing options...
MHz Posted November 3, 2005 Share Posted November 3, 2005 It is only a messagebox. Using @LF or @CR for a new line should be adequate. Link to comment Share on other sites More sharing options...
BigDod Posted November 3, 2005 Share Posted November 3, 2005 It is only a messagebox. Using @LF or @CR for a new line should be adequate.Thanks for the correction, I sometimes get carried away. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Scriptkiddi3 Posted November 3, 2005 Share Posted November 3, 2005 It is only a messagebox. Using @LF or @CR for a new line should be adequate.What's the difference between a @LF, a @CR and a @CRLF? I know that @CRLF is stronger but what are they used for? [-"Scriptkiddie, nice to meet you!"-] Link to comment Share on other sites More sharing options...
Nuffilein805 Posted November 3, 2005 Share Posted November 3, 2005 @cr won't work because it just sets back the pointer to first char @lf files up the line until there are no more free spaces @crlf is a combination of these 2 my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
Scriptkiddi3 Posted November 3, 2005 Share Posted November 3, 2005 @cr won't work because it just sets back the pointer to first char@lf files up the line until there are no more free spaces@crlf is a combination of these 2Thanks for the quick reply [-"Scriptkiddie, nice to meet you!"-] Link to comment Share on other sites More sharing options...
MHz Posted November 3, 2005 Share Posted November 3, 2005 (edited) What's the difference between a @LF, a @CR and a @CRLF? I know that @CRLF is stronger but what are they used for?@LF is used in *unix OSes. Chr(10)@CR is used in MAC OSes. Chr(13)@CRLF is used in Windows OSes. Chr(10) and Chr(13)Messagebox usage does work with any of the above, and you will not copy text from a messagebox into any windows based editor to cause any problems.@cr won't work because it just sets back the pointer to first char@lf files up the line until there are no more free spaces@crlf is a combination of these 2You must be one of the few that use @CRLF for messageboxes. Everyone else uses @CR or @LF without problems.MsgBox(0, '', 'line1' & @LF & 'line2' & @LF & 'line3') MsgBox(0, '', 'line1' & @CR & 'line2' & @CR & 'line3') MsgBox(0, '', 'line1' & @CRLF & 'line2' & @CRLF & 'line3') Edited November 3, 2005 by MHz Link to comment Share on other sites More sharing options...
Nuffilein805 Posted November 3, 2005 Share Posted November 3, 2005 ah, ok i see, never tried @cr before and yes, i do use @crlf, because i'm used to it nvm my little chatmy little encryption toolmy little hidermy unsafe clickbot 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