I have a textbox that when the user clicks on it the cursor position should always be at the end of the text.
So far I have the following code under the textbox_mouseClick event
Private Sub RTextBox_MouseClick(sender As Object, e As System.Windows.Forms.MouseEventArgs) Handles RTextBox.MouseClick
RTextBox.SelectionStart = Len(RTextBox.Text)
End Sub
This works but first the mouse position jumps to where ever the person clicked and then its jumps to the end.
Can I make the mouse position stay at the end and not move when they click on the textbox?