TextBox caret jump
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I'm writing a smart device application for a pocket PC using C#. I need to make a terminal for the outside communication and I'm using a TextBox for this terminal. Problem is: every time I try to add text to the terminal I do the following: textBoxTerminal.Text += (string)TextToAdd; //1 textBoxTerminal.Select(textBoxTerminal.Text.Length,0); //2 textBoxTerminal.ScrollToCaret(); //3 I have to do 2 and 3 since after 1 the caret jumps to the beginning of the text. Is there anyway to stop the caret from jumping to the beginning of the text every time text is added? Thanks. avivhal