1. win32lib mletext
- Posted by Caballero Rojo <pampeano at rocketmail.com> Nov 27, 2000
- 336 views
I've got a sequence such as "Dear Kate, \n I'm writting to you..." that when I put it in a mletext I got a strange character instead of a new line.. so.. how can I make a new line inside a mletext? Thanks a lot! Red Knight __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
2. Re: win32lib mletext
- Posted by Brian Broker <bkb at CNW.COM> Nov 27, 2000
- 341 views
On Mon, 27 Nov 2000 13:52:30 -0800, Caballero Rojo wrote: >I've got a sequence such as "Dear Kate, \n I'm writting to you..." that >when I put it in a mletext I got a strange character instead of a new >line.. so.. how can I make a new line inside a mletext? >Thanks a lot! > >Red Knight You'll have to do the \r\n combo... Try: "Dear Kate,\r\n I'm writing to you..." Either one by itself will not do the job (and will give you the strange character) but the combo does what you want. -- Brian
3. Re: win32lib mletext
- Posted by Derek Parnell <dparnell at BIGPOND.NET.AU> Nov 27, 2000
- 348 views
On Mon, 27 Nov 2000 13:52:30 -0800, Caballero Rojo <pampeano at ROCKETMAIL.COM> wrote: >I've got a sequence such as "Dear Kate, \n I'm writting to you..." that >when I put it in a mletext I got a strange character instead of a new >line.. so.. how can I make a new line inside a mletext? >Thanks a lot! > >Red Knight > >__________________________________________________ >Do You Yahoo!? >Yahoo! Shopping - Thousands of Stores. Millions of Products. >http://shopping.yahoo.com/ Instead of "\n" (LineFeed), you must use "\r\n" (CarriageReturn-LineFeed). This is a DOS hangover. Do you (or anyone else) think that the library should automatically convert single LF into CRLF? It would make life a bit easier when reading text files with Euphoria and then sending the lines to a MleText control. ---- cheers Derek Parnell
4. Re: win32lib mletext
- Posted by Red Knight <pampeano at ROCKETMAIL.COM> Nov 27, 2000
- 382 views
- Last edited Nov 28, 2000
Thanks Derek and Brian, I think that one (\n or \r) should be enough but I don't care that too much.. Thanks again! Best Regards, Red Knight __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com