By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,162 Members | 1,486 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,162 IT Pros & Developers. It's quick & easy.

Problems with the Masked Edit Control

P: n/a
Hi all,

I can't clear a Masked edit control. I use it to input dates, so I have
defined the mask as "##/##/####". I use the the well known
meb.mask=""
meb.text="" ,
but nothing happens.
Does anybody have a clue, why these lines don' t work? I use vb.net 2002

Thank u
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"Panos" <Pa***@discussions.microsoft.com> schrieb:
I can't clear a Masked edit control. I use it to input dates, so I have
defined the mask as "##/##/####". I use the the well known
meb.mask=""
meb.text="" ,
but nothing happens.
Does anybody have a clue, why these lines don' t work? I use vb.net 2002


Are you using VB6's Masked Edit control or another masked edit control?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Nov 21 '05 #2

P: n/a
I think it's VB6's control, because in the customize toolbox menu, I choose
it from the COM components tab.
Is there a .NET version of masked edit control that i don' t know about, or
should i make my own?
"Herfried K. Wagner [MVP]" wrote:
"Panos" <Pa***@discussions.microsoft.com> schrieb:
I can't clear a Masked edit control. I use it to input dates, so I have
defined the mask as "##/##/####". I use the the well known
meb.mask=""
meb.text="" ,
but nothing happens.
Does anybody have a clue, why these lines don' t work? I use vb.net 2002


Are you using VB6's Masked Edit control or another masked edit control?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

P: n/a
"Panos" <Pa***@discussions.microsoft.com> schrieb:
Is there a .NET version of masked edit control that i don' t know about,
or
should i make my own?


<URL:http://www.codeproject.com/cs/miscctrl/maskedcsedit.asp>
<URL:http://www.codeproject.com/vb/net/maskedbox_control.asp>
<URL:http://www.codeproject.com/vb/net/validtext3.asp>
<URL:http://www.codeproject.com/vb/net/cpflexmaskeditbox.asp>
<URL:http://www.codeproject.com/useritems/ValidText.asp>
....

..NET 2.0 will contain a masked edit control.

In some situation using an ErrorProvider to make the user aware of malformed
input can be more appropriate:

Validator Controls for Windows Forms
<URL:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet04082003.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.