Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

Posted on 2004-09-22
Medium Priority
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 86

Accepted Solution

Mike Tomlinson earned 500 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

719 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