CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    3

    Problems with multiline text box

    Hi,

    I've written a program which gets the source code from a page on the internet, and puts the source in a multi line text box.

    There is a problem, where all carrage returns do not exist (all text is on one line) and instead a
    funny character (a bit thicker than |) is displayed.

    Can someone tell me what the problem is?

    Thanks for any help,

    Manteau


  2. #2
    Join Date
    May 1999
    Location
    Texas, USA
    Posts
    568

    Re: Problems with multiline text box

    Change the newline character '\n' to '\r\n'. It will then work.

    Wayne


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured