Here's a pretty good example of MaskEdit routine for a TextBox.
There are functions for:
DateEditing (MM/DD/YYYY)
Phone number (###) ###-####
SSN ###-##-####
Money #####.##
and more. Hope you find it useful.
Paul, Your welcome to include this with the FF Example programs.
Nice and handy, Marty.
Nice code. 8)
One suggestion, you should limit the number of characters for those entries.
Ivan,
The nice thing about having the code you can taylor the function to your specific need. Another thing someone might want to do is improve the date edit function so that it checks for leap year better.