Link to home
Start Free TrialLog in
Avatar of tmitchell68
tmitchell68

asked on

Implementing a masked edit text box in C#

Hello,

Is there a way to implement a masked edit text box in C#?

Specifically, I want to place a text box on a form that only accepts input in a time format (ie:  10:11:02); so that the first character has to be a digit between 0 and 9, the second has to be a character between 0 and 9, the third has to be a : character, etc.

Thanks in advance,
Tim
ASKER CERTIFIED SOLUTION
Avatar of mrichmon
mrichmon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of neilprice
neilprice

There are a ton of links if you search on google.

This one seems to fit your bill:

http://www.codeproject.com/vb/net/Complete_Textbox.asp?df=100&forumid=161445&exp=0&select=1062435

Let me know if this is what you need else I'll hunt some more,
Neil