Dim TextBox1 As WinForm.TextBox = e.Form.Controls("TextBox1")
TextBox1.Select()TextBox1.SelectionStart = TextBox1.Text.Length