Results 1 to 3 of 3

Thread: Linebreaks in Textboxes

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    9

    Post

    This must be the easiest question ever, but how do you insert a line break in a bog standard Textbox? I want to do it programmatically cause the textbox will be hidden from the user. For example, I want a small, one line textbox that the user can put text in, then a button that when clicked, puts the text in the small box in the big box, but underneath the last line of text. I honestly cannot remember how you do it!!! HELP!!!!!

  2. #2
    Lively Member
    Join Date
    Oct 1999
    Posts
    101

    Post

    Greetings Tizzy,

    Put this code in the click event of the button:
    Code:
    Text2 = Text2 & vbCrLf & Text1
    Be sure that the MultiLine Property of TextBox2 is set to TRUE.

    All the best.

    Chris

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    9

    Post

    I knew it was soooo easy. Anyway, cheers for the answer, I can get on with it now!


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