How to move the textbox caret to the right.
Posted
by monkey_boys
on Stack Overflow
See other posts from Stack Overflow
or by monkey_boys
Published on 2009-07-24T14:17:08Z
Indexed on
2010/03/22
19:11 UTC
Read the original article
Hit count: 233
I would like to change all the characters entered into a textbox to upper case. The code will add the character, but how do I move the caret to the right?
private void textBox3_KeyPress(object sender, KeyPressEventArgs e)
{
textBox3.Text += e.KeyChar.ToString().ToUpper();
e.Handled = true;
}
© Stack Overflow or respective owner