M
Michel Posseth [MCP]
Hello we have encountered the following problems with the date time picker
control
A : datetime picker control gives focus to last entered field when moving
back and forward with focus how do we reset this to the first field ?
B : datetime picker in DD-MM-YYYY default format ( europe , NL-NL
localization ) refuses an entry of 31 on the DD filed cause the month is
already chosen to the current mont ( (02) februari wich only has 28 days )
steps to reproduce these problems
A : can be reproduced on any system
Throw a datetime picker control , and a textbox on a form ,set the Datetime
picker format to short , start the project , now enter a date , move the
focus to the textbox with the tab key , move the focus back with the tabkey
, you will notice that the when the focus is given back to the datetime
picker control it will select ( highlight ) the last entry box instead of
the first that we expected
B : can only be reproduced on a system with DD-MM-YYYY settings , when
the form is started the Datetime picker will start with the current month
( 2 )
however if i want to enter 31-12-2006 i need to change the month part
first
Why is the above a problem ?
Well we are currently building a production system , and for data entry this
behavior is verry unwanted as it will take extra steps for the operator to
enter valid data in the system .
For B : i have coded a solution however not completely to my satisfaction i
just default the control to 31-12-YYYY ( where YYYY = the current year )
however A: is a serious problem that i can`t solve yet
regards
Michel
control
A : datetime picker control gives focus to last entered field when moving
back and forward with focus how do we reset this to the first field ?
B : datetime picker in DD-MM-YYYY default format ( europe , NL-NL
localization ) refuses an entry of 31 on the DD filed cause the month is
already chosen to the current mont ( (02) februari wich only has 28 days )
steps to reproduce these problems
A : can be reproduced on any system
Throw a datetime picker control , and a textbox on a form ,set the Datetime
picker format to short , start the project , now enter a date , move the
focus to the textbox with the tab key , move the focus back with the tabkey
, you will notice that the when the focus is given back to the datetime
picker control it will select ( highlight ) the last entry box instead of
the first that we expected
B : can only be reproduced on a system with DD-MM-YYYY settings , when
the form is started the Datetime picker will start with the current month
( 2 )
however if i want to enter 31-12-2006 i need to change the month part
first
Why is the above a problem ?
Well we are currently building a production system , and for data entry this
behavior is verry unwanted as it will take extra steps for the operator to
enter valid data in the system .
For B : i have coded a solution however not completely to my satisfaction i
just default the control to 31-12-YYYY ( where YYYY = the current year )
however A: is a serious problem that i can`t solve yet
regards
Michel