Interest Ask. I assume that you are trying to select text through form loading? I can not get it to work with loading the form, but I can click on the form. Wierd. :)
Public Class Form1 Private Sub Form1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click ScrollTextbox() End Sub Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ScrollTextbox() End Sub Private Sub ScrollTextbox() TextBox1.SelectionStart = TextBox1.TextLength TextBox1.ScrollToCaret() End Sub End Class
If absolutely necessary, you can use a timer.
source share