Re: win32lib mletext

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu