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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

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

Technology Partners: 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!

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
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 …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 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