Results 1 to 3 of 3
  1. #1
    2 Star Lounger
    Join Date
    Jun 2004
    Location
    L, Schleswig-Holstein, Germany
    Posts
    184
    Thanks
    0
    Thanked 0 Times in 0 Posts

    txtbox: how to create new line via VB? (2003)

    Happy Easter!

    One Simple questions: when creating text via vbcode, e.g. Me.txtbox.Caption = "blablablablabla"

    How do I create a new paragraph, just like I did here?
    I know this is simple but I couldn't find anything in the help reference.

    Dennis

  2. #2
    Super Moderator
    Join Date
    Aug 2001
    Location
    Evergreen, CO, USA
    Posts
    6,613
    Thanks
    3
    Thanked 58 Times in 58 Posts

    Re: txtbox: how to create new line via VB? (2003)

    One simple way is to do a concatenation such as:

    Me.txtbox.Caption = "blablabla" & vbCrLf & "more bla"

    You can also use the ASCII character equivalents for Carriage Return and Line Feed.
    Wendell

  3. #3
    2 Star Lounger
    Join Date
    Jun 2004
    Location
    L, Schleswig-Holstein, Germany
    Posts
    184
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: txtbox: how to create new line via VB? (2003)

    thanks, both works great!

Posting Permissions

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