G
Guest
I'm trying to setup a mechanism whereby I store a formatting code in the Tag
of a textbox. This code might be "UpperCase" or "LowerCase" or "NumericOnly".
I've been trying out various code in KeyPress and KeyDown but haven't been
able to figure out exactly what to do to intercept the keypress and modify
the code accordingly.
So for example, if "UpperCase" is in effect and I receive an "a" then I will
turn it into an "A" on the fly.
Are there any good articles on how to do this?
of a textbox. This code might be "UpperCase" or "LowerCase" or "NumericOnly".
I've been trying out various code in KeyPress and KeyDown but haven't been
able to figure out exactly what to do to intercept the keypress and modify
the code accordingly.
So for example, if "UpperCase" is in effect and I receive an "a" then I will
turn it into an "A" on the fly.
Are there any good articles on how to do this?