|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Problems with the Masked Edit ControlHi 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 "Panos" <Pa***@discussions.microsoft.com> schrieb: Are you using VB6's Masked Edit control or another masked edit control?> 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 -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://classicvb.org/petition/> 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? Show quoteHide quote "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/> > "Panos" <Pa***@discussions.microsoft.com> schrieb: <URL:http://www.codeproject.com/cs/miscctrl/maskedcsedit.asp>> 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/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/> |
|||||||||||||||||||||||