Uppercase Text Box - again...

  • Thread starter Thread starter Hilton
  • Start date Start date
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
 
Back
Top