Results 1 to 2 of 2

Thread: odd String behavior in Text box vs RichTextBox

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    4
    In attempting to minimize the libraries that need to be packaged up with an install / setup file I am returning to an issue with the Text box.

    I am attempting to write a string to the box – If I write it to the RichTextBox the inline return characters are recognized and what I get is what I expect. It is a readable page with line returns. If I write it to a text box I get one long and continuous line with escape characters (little squares) occurring where the line returns are intended to be. When I hit this the first time the command line TYPE showed me the one continuous line too, so I just opted for the RichTextBox as a simple means to the end I needed. Now cutting space in the Install makes me consider the wisdom of this.

    Is there a simple way to get the textbox to recognize line returns and thus get the string to look like it should, or should I just give up and deal with it through the RichTextBox

  2. #2

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