-
masked edit control
A masked edit box is set to enter a date as "dd/mm/yyy"
mskBox1.mask = "##/##/####"
However, users allow to enter empty date or empty month like
"--/--/1990" or "--/09/1990", but not empty year. As mask is set as "##/##/####", only numbers are allowed.
How to reset mask in order to allow enter numbers and "--"?
Thank you.
vb999
-
You can try a mask like "CC-CC-####"
Here's a link to microsofts page of valid entries for the mask:
http://msdn.microsoft.com/library/de...mask_medit.asp
Steve