Results 1 to 2 of 2

Thread: Rich Text box's Scroll Bar

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2004
    Posts
    14

    Rich Text box's Scroll Bar

    ok, I have a textbox, and once key 13 is pressed it puts the text information into the rich text box, and the scroll bar goes to the very top and u can' see what was entered in it, unless you scroll back down.

    I was wondering how to keep the scroll bar scrolled down the the bottom...

    Also how to move it threw code...

    Thanks...

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    The SelStart property positions the cursor within the RTB. This line will move the cursor to the end of the text.

    RichTextBox1.SelStart = Len(RichTextBox1.Text)

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