Uppercase Text Box - again...

H

Hilton

Hi,

I know this has been asked before (even by me), but...

How do I implement this given MS nuked the uppercase flag? I tried
"this.Text = this.Text.ToUpper()", when the text changes, but the caret
moves back to beginning of the string and looks bad (jumpy) if I then move
it to the end; i.e. caret jumps from end to beginning to end. I was hoping
to use BeginUpdate, but TextBox does not have that. I then tried OnKeyDown
and tried to set KeyChar, but that's read only.

So, to beat a dead horse, how can I implement this in an asthetically
pleasing way.

Thanks!

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