Re: Upper Case in TextBox

S

Steven Licciardi

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

textbox1.text = textbox1.text.ToUpperCase

in the textbox.onchange event?

Steven
 
H

Hilton

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top