Carriage Return in a TextArea

  1. 3 years ago

    Joseph C

    16 Jul 2016 Pre-Release Testers

    It's been awhile since I coded in xojo and I'm stuck on something that seems really basic. How do I do a carriage return in the textarea?

    For example, if I run this code:

    for i as integer = 0 to 10
    textarea1.appendtext "hello world"
    next

    It runs them all together. How would I get it to do each hello world on it's own line.

    for i as integer = 0 to 10
    textarea1.appendtext "hello world"+endOfLine
    next
  2. Roger C

    16 Jul 2016 Answer Lewis Center, OH
    for i as integer = 0 to 10
    textarea1.appendtext "hello world"+endOfLine
    next
  3. Joseph C

    16 Jul 2016 Pre-Release Testers

    There it is!!! Thanks!

or Sign Up to reply!