Page 1 of 1 1
Topic Options
#110278 - 2003-12-14 02:34 PM MessageBox Question
AlTaylor Offline
Fresh Scripter

Registered: 2003-12-08
Posts: 11
How can I insert a linefeed or newline into a messagebox?

Al Taylor

Top
#110279 - 2003-12-14 02:36 PM Re: MessageBox Question
Richie19Rich77 Offline
Seasoned Scripter
*****

Registered: 2002-08-16
Posts: 624
Loc: London, England
See @CRLF Macro

Code:
MessageBox("This is a test from @CRLF testing","test") 


Top
#110280 - 2003-12-14 02:45 PM Re: MessageBox Question
AlTaylor Offline
Fresh Scripter

Registered: 2003-12-08
Posts: 11
Thank you Richard
Top
#110281 - 2003-12-14 05:15 PM Re: MessageBox Question
Mart Moderator Offline
KiX Supporter
*****

Registered: 2002-03-27
Posts: 4673
Loc: The Netherlands
Two ways to do this.

-1 the way richard said. Would be something like this:
Code:

MessageBox ("line1" + @crlf + "line2","tilte",64)



-2 or the way the manual explains it. Like this:

Code:

MessageBox ("line1" + Chr(13) + Chr(10) + "line2","tilte",64)



Richard's way is less code.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 363 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.051 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org