What happened to the MaskEdit control?

  • Thread starter Thread starter Selden McCabe
  • Start date Start date
S

Selden McCabe

I've been programming in VB.Net for quite a while now, and just realized
that it seems to be mssing the MaskEdit control!

I never much cared for it in VB6, but I have a customer who insists on the
function (where the text box contains " / / " and they fill in the
date.

It seems that you can use the MaskEdit COM control by adding a reference to
it, but I want to sublcass it to mimic some of the behavior of a text box,
so I can use it with my existing objects.

However, when I tried creating a control that inherits from the
MaskEditClass (seemingly the only thing in the MaskEdit namespace that can
be inherited), VB.Net does not seem to recognize it as a control (can't view
it in the designer, and can't add it to the Toolbox).

How do you get the functionality of the MaskEdit in .Net control?

Thanks!
---Selden McCabe
 
Thanks for the feedback. The FlexMaskEditBox control looks like a very nice
piece of work.

One thing it seems to lack (unless I missed it) was the ability that the
MaskEdit control has where you put "__/__/____" in the mask, and the user
sees " / / " in the control as a visual cue that they are to enter a
date. And when they type the numbers, after two digits are entered, it
moves to the month, etc.

Does the FlexMaskEditBox control have this capability?

I'm starting to think I'll have to create a user control with three text
boxes and a whole bunch of code to duplicate this function!

Any suggestions, ideas, etc. would be really welcome!

Thanks,
---Selden
 
* "Selden McCabe said:
One thing it seems to lack (unless I missed it) was the ability that the
MaskEdit control has where you put "__/__/____" in the mask, and the user
sees " / / " in the control as a visual cue that they are to enter a
date. And when they type the numbers, after two digits are entered, it
moves to the month, etc.

Does the FlexMaskEditBox control have this capability?

Sorry, I never worked with this control. If you find it out, it would
be great if you share your experiences with this control with the group.
 
Back
Top