Results 1 to 4 of 4

Thread: [RESOLVED] RichTextBox annoying scrolling?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2011
    Posts
    88

    Resolved [RESOLVED] RichTextBox annoying scrolling?

    Basically, I have this timer system set up so that every 2 seconds a new line of code is added to my RichTextBox. The problem is, when the box fills up the scrollbar doesn't automatically go down. Every time a new line is added by the program, the user has to scroll down manually to see it. I would think there would be a simple solution to this, but I'm a VB n00b, so help is appreciated.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: RichTextBox annoying scrolling?

    Your problem is almost certainly that you are setting the Text property rather than calling the AppendText method.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2011
    Posts
    88

    Re: RichTextBox annoying scrolling?

    You are correct - that makes things much easier.
    Amazing, all the things I don't know.

    Thanks-

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Apr 2011
    Posts
    88

    Re: [RESOLVED] RichTextBox annoying scrolling?

    Just an additional note,

    I also had to change my output textbox from a RichTextBox to a regular Multiline Textbox

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