dateTimePicker strange behaviour

D

daniel

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.
 
G

Guest

-----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.
.

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top