Results 1 to 6 of 6

Thread: vbNewLine

  1. #1

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    Text1.Text = "@Admin: " + Text2.Text + vbNewLine + Text1.Text

    that makes a new line (vbNewLine) but it moves up, how do I make a new line, but make itmove down?
    That arranged can be

  2. #2
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Do it backwards!

    Text1.Text = text1.text & vbnewline & "@Admin: " & Text2.Text

  3. #3

    Thread Starter
    Hyperactive Member Sacofjoea's Avatar
    Join Date
    May 2000
    Location
    Never Never Land
    Posts
    472
    lol, I never would have thought of that...thanks!
    That arranged can be

  4. #4
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523
    How about using VbCrLf instead of vbNewLine

  5. #5
    Guest
    Or you could use:

    Code:
    Text1.Text = text1.text & Chr$(13) & Chr$(10) & "@Admin: " & Text2.Text
    But I guess Qwerty's way is better .

    By the way, I checked in the VB 4.0 help file and there are no words such as vbNewLine and VbCrLf. Are they only in VB 6.0?

  6. #6
    Fanatic Member
    Join Date
    Oct 1999
    Location
    MA, USA
    Posts
    523
    I've been using them since vb5 so they are in it. NOt sure about earlier versions.

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