Question monthcalendar control clicking itself?

ghardy

Member
Joined
Mar 18, 2010
Messages
20
Programming Experience
10+
hi all,

i have a monthcalendar control on a form, and about every minute or so, the click event fires. this is wierd, since i look at the call stack and nothing called it.

has anyone seen this problem before?
 

ghardy

Member
Joined
Mar 18, 2010
Messages
20
Programming Experience
10+
oops, my bad....there is NO click event on monthcalendar

i had my code where it was handling the datechanged event, not the date selected event.

this actually makes a little bit of sense...each minute, the datetime changes, and fires this event?

i guess this is this expected behavior? i did see some stuff on the MS forum how this might be an odd ball bug, as some report it firing every two minutes or so...

anyway, i just needed to handle dateselected and not datechanged. also, i find it odd that there is no click or doubleclick event on this control.
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,589
Location
Norway
Programming Experience
10+
Top Bottom