You might want to look at DataBinding too. Combining the Format and Parse
events can allow a flexibility to the behaviour of a TextBox. Ex: You can
easily add a dollar sign to the display of a float to make it a currency
using Format.
And you should be able to use the parse event to control what is actually
stored in your bound class.
gdbj
"Alberto" <al*****@nospam.es> wrote in message
news:OO**************@TK2MSFTNGP10.phx.gbl...
Can I set a mask to a TextBox? How?
Thank you very much