Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you set a Masked Edit Box (date) to blank

Status
Not open for further replies.

TheBigO

Programmer
Feb 4, 2002
16
US
How do you set a masked edit box's date so that it is blank. I get an error when I use the following expression:

mebFromDate = ""
 
I remember this from very long ago. This will always give an error. Instead you need to remove the mask, clear the box, then reset the mask, thusly... (is that a word)
[tt]
MaskEdBox1.Mask = ""
MaskEdBox1 = ""
MaskEdBox1.Mask = "##/##/##"
[/tt] Craig, mailto:sander@cogeco.ca
"Procrastination is the art of keeping up with yesterday."
I hope my post was helpful!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top