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

MaskedTextBox and strings

P: n/a
Hi,

I have had a look on google groups for help on the MaskedTextBox and strings
but every post I find seems to relate for formatting numbers.

So, is it possible to set up a mask on the MaskedTextBox that would force
the user to only enter alpha characters (A to Z) or am I condemned to
overriding the KeyPress event?

Thanks & regards,
Craig.
Oct 18 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Try here:
http://msdn2.microsoft.com/en-us/library/ka7h9fze.aspx

chanmm

"Craig" <no**@m.plswrote in message
news:d0**************************@news.hispeed.ch. ..
Hi,

I have had a look on google groups for help on the MaskedTextBox and
strings but every post I find seems to relate for formatting numbers.

So, is it possible to set up a mask on the MaskedTextBox that would force
the user to only enter alpha characters (A to Z) or am I condemned to
overriding the KeyPress event?

Thanks & regards,
Craig.


Oct 18 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.