I have the multiline property set to true, and the scrollbars set to both. I am using the textbox as a log, so I want it to scroll down automatically as the next line is being printed in the textbox. How do I do that?
Thanks!
Printable View
I have the multiline property set to true, and the scrollbars set to both. I am using the textbox as a log, so I want it to scroll down automatically as the next line is being printed in the textbox. How do I do that?
Thanks!
Hi.
Try this
VB Code:
TextBox1.SelectionStart = TextBox1.Text.Length TextBox1.ScrollToCaret()
Awesome! That did it! Thank you very much!