Results 1 to 4 of 4

Thread: textbox with vbCR+vbLF

  1. #1

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709
    Hi

    How I put in the textbox, few lines with vbCR&vbLf ?


  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Assume you want a few empty lines at the begining of the text box.
    Code:
    Text1.Text = Text1.Text & VbCrLf
    That will place one empty line at the begining of the text box.

    Gl,
    D!m
    Dim

  3. #3
    Guest
    That actually places a new line at the END of the Textbox. At the beginning would be:

    [code]
    Text1=vbNewLine & Text1.Text

  4. #4
    Guest
    Or you can place it where ever the cursor position is.
    Code:
    Text1.SelText = vbCrLf

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