|
-
Feb 25th, 2000, 01:40 AM
#1
Thread Starter
Lively Member
Hello I am trying to find a good way to put a mask on a textbox for dates and phone numbers so when it gets focus it will get the mm/dd/yyyy or (###)###-#### mask. I don't want to use a mask edit. Does anyone have a piece of code that can show me that? I have been trying to use
text1.text = format ( text1.text, "(###)###-####") but it is not working. Please Help! Pre-Thanks
-
Feb 25th, 2000, 02:29 AM
#2
This mask for phone should work just fine: Text1.Text = Format(Text1.Text, "(###)###-####") as long as you have correct number of digits. Same goes for a Date.
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
|