TextBox UpperCase

  • Thread starter Thread starter David
  • Start date Start date
Capture the the textbox_textChanged event and add the following code:

int x=textBox1.SelectionStart;
textBox1.Text=textBox1.Text.ToUpper();
textBox1.SelectionStart=x;

Ali Gardezi
 
Back
Top