Allow only upper case letters in text box

  • Thread starter Thread starter Richard Keller
  • Start date Start date
R

Richard Keller

How can I only allow user to enter upper case letters
into a text box, and if he enters a lower case letter,
change it to upper case.

in vb6 I would use the keypress event and change the key
to upper case, but in .net the key is read only.
 
* "Richard Keller said:
How can I only allow user to enter upper case letters
into a text box, and if he enters a lower case letter,
change it to upper case.

Set the textbox's 'CharacterCasing' property to 'Upper'.
 
Back
Top