PlanetSquires Forums

Support Forums => General Board => Topic started by: Martin Francom on December 16, 2009, 02:38:07 AM

Title: MaskEdit Example Program
Post by: Martin Francom on December 16, 2009, 02:38:07 AM
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.


   
Title: Re: MaskEdit Example Program
Post by: Rolf Brandt on December 16, 2009, 08:17:35 AM
Nice and handy, Marty.
Title: Re: MaskEdit Example Program
Post by: Ivan Iraola on December 16, 2009, 08:53:35 AM
Nice code.  8)

One suggestion, you should limit the number of characters for those entries.
Title: Re: MaskEdit Example Program
Post by: Martin Francom on December 16, 2009, 09:51:29 PM
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.