How can I reset the text in Mask Edit Control?
for example, I can reset the text in TextBox using TextBox1.ResetText() OR TextBox1.Text = "". But why Mask Edit Controlcannot be used?VB Code:
MaskEdit.ResetText()
Printable View
How can I reset the text in Mask Edit Control?
for example, I can reset the text in TextBox using TextBox1.ResetText() OR TextBox1.Text = "". But why Mask Edit Controlcannot be used?VB Code:
MaskEdit.ResetText()
It didn“t work with maskedit.text="" ?
or maskedit.text=DBNull.Value ?
yeah, it didn't work, but never mind, I used another way to do this and it worked!!
VB Code:
MaskEditTime.SelStart = 0 MaskEditTime.SelLength = 5 MaskEditTime.SelText = ""