Click to See Complete Forum and Search --> : MaskEdBox
Pereira
December 13th, 1999, 10:30 AM
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
December 13th, 1999, 10:55 AM
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
Vanclei Matheus
December 13th, 1999, 10:57 AM
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
techno_dreamer@yahoo.com.br
Techno Dreamer
Pereira
December 13th, 1999, 11:24 AM
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
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.