Results 1 to 4 of 4

Thread: [RESOLVED] Rich Text Box HELP

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2005
    Posts
    476

    Resolved [RESOLVED] Rich Text Box HELP

    How can I position the cursor at the end of the last line of text?

    Thanks.

  2. #2
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Rich Text Box HELP

    Quote Originally Posted by Newtester
    How can I position the cursor at the end of the last line of text?

    Thanks.
    Wouldn't that be at the end over all?
    VB Code:
    1. Private Sub Command1_Click()
    2.     With RichTextBox1
    3.         .SelStart = Len(.TextRTF)
    4.         .SetFocus
    5.     End With
    6. End Sub

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2005
    Posts
    476

    Re: Rich Text Box HELP

    Thanks a lot. It works.

  4. #4

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