Hi,
There are several ways:
1- Handle the onKeyPress event
2- derive your own control and do the check on it
3- use of of a number of free controls available, check google , one in
particular I have bookmarked
http://www.dotnet247.com/247referenc...rchive305.html
cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Visual Systems AB (Martin Arvidsson)" <ma**************@vsab.net> wrote in
message news:e7**************@TK2MSFTNGP15.phx.gbl...
Hi!
Is it possible to set a mask on a TextBox control?
I want to limit the chars to be entered, in one box i want just numbers
0-9
and in another box i want to separate the areacode in a phonenumber
automaticly...
Regards
Martin