Hi all
in side one TextBox we can move the blinking cursor to the right by using arrow right key.
my question is how to move the cursor to the right character using code.
For example inside TextBox1 there is a word "London", and the blinking cursor is at the
right side of "L" character.(the program is in running state.)
Button1 is the button which is when clicked ,will do something which move the blinking
cursor one character to the right (to the right side of first "o" character.)
regard
han
Move cursor position
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Dec 8, 2009, 4:42 AM EST
private void button1_Click(object sender, EventArgs e)
{
textBox1.SelectionStart = textBox1.SelectionStart + 1;
textBox1.Focus();
}
Hiren SoniRank #694 · 3.5K reputationPosted Dec 8, 2009, 3:56 AM EST
Hiren SoniRank #694 · 3.5K reputationPosted Dec 8, 2009, 4:48 AM EST