Results 1 to 2 of 2

Thread: Scroll Bar...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    313

    Question

    In a rich text box, say i have a chat program. I want to add to the rich text box caption, but I want to keep the scroll bar at the bottom, kinda like in AIM but every time it gets writen to it goes back to the top, how can I change that?

  2. #2
    Guest
    Use the SelStart property to keep the scrollbar down.

    Code:
    Private Sub RichTextBox1_Change()
    RichTextBox1.SelStart = Len(RichTextBox1.Text)
    End Sub

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