Make a textbox scroll to the bottom
By: Burt Abreu Date: 13/10/1998

Windows automatically scrolls a multi-line textbox to the point where selection starts. We should than set the selection starting point to the end of the text.

textbox.SelStart = Len(textbox.Text)

textbox is the name of the textbox.
The property
SelStart sets the starting point for the selection to the end of the text.

Click Here!


Visual Basic Programming Zone is a website by Lorenzo Dalla Vecchia.
Webmaster's e-mail: webmaster@vbprogzone.cjb.net
Hosted by InWind: www.inwind.it