MaskEdit Example Program

Started by Martin Francom, December 16, 2009, 02:38:07 AM

Previous topic - Next topic

Martin Francom

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.


   

Rolf Brandt

Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Ivan Iraola

Nice code.  8)

One suggestion, you should limit the number of characters for those entries.
Android App Developer
http://www.uncledroid.com

Martin Francom

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.