|
-
August 7th, 2001, 10:25 AM
#1
Edit box
I entered Date as the format for an edit box. How do I get the forward slashes, i.e., mm/dd/yy to show up so the user will only enter 080701 for the date & the box will show 08/07/01. ??
Thanks for any input!
John
-
August 7th, 2001, 10:38 AM
#2
Re: Edit box
Enter mask
__/__/__ ' these are underscores
Iouri Boutchkine
[email protected]
-
August 7th, 2001, 10:38 AM
#3
Re: Edit box
Hi,
You can use the Masked Edit control (MSMASK32.OCX). This control looks like TextBox, but have the Mask property. For example:
MaskEdBox1.Mask = "##/##/##"
Then, when you input"080701", what you get is: "08/07/01" (MaskEdBox1.Text).
Hope this helps.
Regards,
Michi
-
August 7th, 2001, 10:42 AM
#4
Re: Edit box
Where do you enter the mask?
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
|