How do I make a textbox with a scrollbar scroll down automaticly when the text get's bigger?

Posted on 2004-09-22
Last Modified: 2010-04-23
How do I make a textbox with a scrollbar scroll down automaticly when the text get's bigger. Like in ICQ or other messengers.
Question by:stromberg10
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
LVL 25

Expert Comment

ID: 12121594
Just set the scrollbars property of your textbox, and multiline to true
LVL 25

Expert Comment

ID: 12121617
or use a richtextbox and set the scrollbars property to both, the difference between this and the textbox is in the textbox the scrollbars are fixed where as in the richtextbox they are dynamic
LVL 25

Expert Comment

ID: 12121626
Bye the way ICQ uses a richtextbox
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

LVL 86

Accepted Solution

Mike Tomlinson earned 125 total points
ID: 12122602
Instead of:

    TextBox1.Text = TextBox1.Text & "more text" & vbCrLf


    TextBox1.AppendText("more text" & vbCrLf)


LVL 25

Expert Comment

ID: 12122902
Ah, thanks to Idle_Minds comment I now see that I didn't read the question correctly. Sorry
LVL 25

Expert Comment

ID: 12122990
you could also use the scrolltocaret method after you added a line

like textbox1.ScrollToCaret

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : All lightning effects with instructions : http://www.mediaf…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question