Connecting Tech Pros Worldwide Forums | Help | Site Map

dateTimePicker strange behaviour

daniel
Guest
 
Posts: n/a
#1: Jul 21 '05
Hello there,
using .net 1.1, a simple winform app, with a single
datTimePicker control and the handler
dateTimePicker1_ValueChanged. The handler displays a
MessageBox. When i change the day selected in the
datTimePicker everything seems OK, but when i change the
month, the event is send continuously and the handler
called repeatidely as if i was changing the month
again....
Does anyone kow what is going on and/or how can i fix
this beahviour
thanks, daniel.

Guest
 
Posts: n/a
#2: Jul 21 '05

re: dateTimePicker strange behaviour


[color=blue]
>-----Original Message-----
>Hello there,
>using .net 1.1, a simple winform app, with a single
>datTimePicker control and the handler
>dateTimePicker1_ValueChanged. The handler displays a
>MessageBox. When i change the day selected in the
>datTimePicker everything seems OK, but when i change the
>month, the event is send continuously and the handler
>called repeatidely as if i was changing the month
>again....
>Does anyone kow what is going on and/or how can i fix
>this beahviour
>thanks, daniel.
>.[/color]

Hello,
I was have the same problem too.
To solve this problem inherits the class DateTimePicker
and overrides this event, and control the event how to you
want!
Guest
 
Posts: n/a
#3: Jul 21 '05

re: dateTimePicker strange behaviour


thanks,

dan.
Closed Thread


Similar .NET Framework bytes