Results 1 to 2 of 2

Thread: New Llines in a textbox

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 1999
    Location
    Barcelona, Espaņa
    Posts
    14

    Post

    I have a simple question:
    How can I add lines to a textbox. If the textbox already has content, how do I add new lines of content?

    Regards
    Wouter

  2. #2
    Hyperactive Member
    Join Date
    Oct 1999
    Posts
    309

    Post

    Put a textbox on your form and set it's multiline property to true...

    Code:
    Private Sub Form_Activate()
        Text1.Text = "This is a line"
        Text1.Text = Text1.Text & vbCrLf & "This is a new Line..."
    End Sub
    [This message has been edited by Inhumanoid (edited 11-30-1999).]

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