PDA

Click to See Complete Forum and Search --> : How 2 clear MaskedBox ?


levis501
Dec 29th, 1999, 07:49 PM
I just need to know how to clear data in masked box......

4 example:

I fill up my phone number in masked box....
then I save that data..... After I save it...
the data still there..... So I just want 2 know how to clear it.... meaning that how can I clear data in the masked box.

I hope anyone can do me a favour...

tQ...

-Beginner-

Dec 29th, 1999, 08:40 PM
Try this:

Private Sub Text1_LostFocus()
'Store Information
Text1.Text = ""
End Sub




------------------
Boothman
There is a war out there and it is about who controls the information, it's all about the information.
;)

jpark
Dec 29th, 1999, 10:48 PM
Clear mask first, then clear text.


MaskEdBox1.Mask = ""
MaskEdBox1 = ""
MaskEdBox1.Mask = "(###)###-####"


Joon