Results 1 to 2 of 2

Thread: vbkeyReturn

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    32
    I have some text in a text box and i wish to bring he cursor down a couple of lines after the user has entered the text. have tried several ideas. Anyone know why this is not working.

    Thanks

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Try VbCrLf

    Code:
    text1.Text = "hah" & VbCrLf & "multi" & VbCrLf "line!"
    'Set the text1.multiline to True
    have fun!

    I believe vbNewLine works too, but I never use it.
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

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