Re: Upper Case in TextBox

  • Thread starter Thread starter Steven Licciardi
  • Start date Start date
S

Steven Licciardi

In the meantime, could you not just do the following:

textbox1.text = textbox1.text.ToUpperCase

in the textbox.onchange event?

Steven
 
Yes and no. That would work, but the caret hops back to the beginning, you
could then move it back to where it should be, but it's quite distracting
and looks bad. Then there's the issue of the events being called
twice/recursively (I think).

I added the UPPERCASE flag (not at my C# machine right now), and it works
great. Let me know if you want the code.

Hilton
 
Back
Top