I am using a text box to display birthdates from a database.
I have an edit function that allows a user to change
the birthdate.
Is there a way to edit mask in a text box without using the microsoft edit mask control?
Thanks in advance.
dand444
Printable View
I am using a text box to display birthdates from a database.
I have an edit function that allows a user to change
the birthdate.
Is there a way to edit mask in a text box without using the microsoft edit mask control?
Thanks in advance.
dand444
Naturally there is a way, but it's not realy worth the trouble. You can do it by watching events on the control (like change and keypress), using functions (like Format, InStr, Mid, and Replace), and some API calls.
Have fun (if you go this route).