Polas5
Member
Hi everyone.The problem is that i can't use cursor to move text in richtextbox using scrolltocaret.
Here the code for so far i have.
The scroll goes to the bottom correct and back but the problem it can't move text.
If try move text down to the bottom the cursor lost its selection text.
How to fix the problem I'm using vb.net.
Here the code for so far i have.
VB.NET:
Dim length As Integer = rtf.Text.Length
rtf.[Select](length, 0)
rtf.ScrollToCaret()
The scroll goes to the bottom correct and back but the problem it can't move text.
If try move text down to the bottom the cursor lost its selection text.
How to fix the problem I'm using vb.net.