DateTimePicker Fast Data entry problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

When i enter a date in datetimepicker (vb 2005) i have to press to key "/"
or the key right to get from day to month and then to year. That can be a
major drawback for fast data entry. I want to type just the day and the month
and the year.no other characters

Is there anyway to overcome this behaviour with the specific control?
 
I would try something like form1.keypreview = true and sendkeys to send
tab/arrow or if that doesnt work maybe a addfilter
 
Thanks for the reply.
A masked text box has this feature but has not a most important. Using
masked textbox there is no validation of date while editing. E.g. the
datetimepicker does not allow you to enter 31/02/2007 and changes this value
when you write the month after day. So, masked textbox is not a better
solution.
 
Back
Top