|
-
Sep 22nd, 2004, 04:12 AM
#1
Thread Starter
Lively Member
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
-
Sep 24th, 2004, 09:54 AM
#2
Lively Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|