Hello All
How can I clear maskeditbox ?
tnak all
Printable View
Hello All
How can I clear maskeditbox ?
tnak all
MaskEdBox1.Mask = ""
MaskEdBox1 = ""
MaskEdBox1.Mask = YourMask
If you are asking how to clear text that was typed into the MaskEdBox, I always use the Mask format and PrompChar in the Property Section.
Example: My mask for a date is ## / ## / #### So I clear it with __/__/____. A underline for each # placement.
MaskEdBox1 = "__/__/____"
Hope this will help till someone gives you something better.