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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing a MaskedBox?

Status
Not open for further replies.

johnvai

IS-IT--Management
Oct 4, 2003
127
LB
Dear Friends:

Usually if i want to clear a tetbox I do text1.text= ""
but in a maskedbox writing MaskedBox1.text= "" gives me error.

Any tip?
 
'-- CLEAR THE MASKEDBOX
MaskEdBox1.Mask = ""
MaskEdBox1.Text = ""
MaskEdBox1.Mask = "###-####"
 
try the following.

text1.mask = ""
text1.text = ""
text1.mask = [original mask]

Unclet
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top