-
MaskEdBox
Hi...
I would like to know where can I get a more advanced and complete control (or code) than MaskEdBox. I'd like to use it for inputing dates in dd-mm-yyyy format but I need to know each value separatly and "navigate" throught these values with the Tab key!
Is it possible?
Best Regards
Pedro Pereira
-
Re: MaskEdBox
Well, as far as the Tabbing through each part, I don't know. But if you need to know a particular part of a date try using the function DatePart. For example:
DatePart("m",Now) returns 12
'Where "m" represents the part of the date you want to determine, and where Now is the date you want to examine.
DatePart("d",Now) returns 13
DatePart("yyyy",Now) returns 1999
-
Re: MaskEdBox
A better control than MaskEditBox to work with dates it's the DTPicker, member of Microsoft Common Controls-2 6.0 it provides a nice control of dates.
Vanclei Matheus
[email protected]
Techno Dreamer
-
Re: MaskEdBox
I see... I like the functionality of this control for the time but not the date. It's that functionality I'm looking for but for dates!
Thanks for the help.
Pedro Pereira