By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,046 Members | 2,105 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,046 IT Pros & Developers. It's quick & easy.

Converting to UpperCase

P: n/a
How do I convert a field that is filled in to uppercase within the C3 code?
I see the ToUpper in there, but how do I get the text box to convert this to
upper when you change focus or move to another text box?
Nov 16 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Brian,

In this case, you would have to attach an event handler for when the
textbox loses focus, and then set the text to the upper case version of the
current text.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Brian Conway" <Br**********@qwest.com> wrote in message
news:es**************@TK2MSFTNGP10.phx.gbl...
How do I convert a field that is filled in to uppercase within the C3 code? I see the ToUpper in there, but how do I get the text box to convert this to upper when you change focus or move to another text box?

Nov 16 '05 #2

P: n/a
Do you have an example of this I am just learning C#.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:uB**************@TK2MSFTNGP09.phx.gbl...
Brian,

In this case, you would have to attach an event handler for when the
textbox loses focus, and then set the text to the upper case version of the current text.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Brian Conway" <Br**********@qwest.com> wrote in message
news:es**************@TK2MSFTNGP10.phx.gbl...
How do I convert a field that is filled in to uppercase within the C3 code?
I see the ToUpper in there, but how do I get the text box to convert

this to
upper when you change focus or move to another text box?


Nov 16 '05 #3

P: n/a
I have read some on using CharacterCasing and have added in the namespace of

System.Windows.Forms

But I still cannot get CharacterCasing to show as an option.

"Brian Conway" <Br**********@qwest.com> wrote in message
news:es**************@TK2MSFTNGP10.phx.gbl...
How do I convert a field that is filled in to uppercase within the C3 code? I see the ToUpper in there, but how do I get the text box to convert this to upper when you change focus or move to another text box?

Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.