ARC
Well-known member
So I have timer events firing... which adds text to the bottom line (essentially) of the maintext.text --
The Me.maintext.ScrollToCaret() in the past has assured me that the textbox would scroll to the bottom before sending focus back to another textbox --
My problem though, is that it isnt scrolling down to the bottom. 1 of 3 things could be the problem.
1) I miss-spelled the ScrollToCaret() command
2) It doesnt work the same with RichText fields (previous uses were in regular text boxes)
3) This should work, the problem isnt here, it's nested somewhere else in my code.
If someone could varrify that it's not 1 and or 2, that would be awesome
The Me.maintext.ScrollToCaret() in the past has assured me that the textbox would scroll to the bottom before sending focus back to another textbox --
My problem though, is that it isnt scrolling down to the bottom. 1 of 3 things could be the problem.
1) I miss-spelled the ScrollToCaret() command
2) It doesnt work the same with RichText fields (previous uses were in regular text boxes)
3) This should work, the problem isnt here, it's nested somewhere else in my code.
If someone could varrify that it's not 1 and or 2, that would be awesome
VB.NET:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
Me.inputtext.Text = ""
Me.maintext.Text = Me.maintext.Text + "Voice: Hello!" & ControlChars.NewLine
Me.maintext.Focus()
Me.maintext.ScrollToCaret()
Me.inputtext.Focus()
End Sub