G
Grumpy Aero Guy
I have a datetimepicker on a form
i'm a little confused ref the DateTimePicker1_ValueChanged event.
I want to run some code when a NEW date is picked, but this event also fires
when you change months (as it assumes the day of the current month becomes
the same day of the next month, assuming you use the "right arrow" to jump
to the next month.)
SO.... which event do I select such that it fires ONLY when a new date is
selected?
---or---- what's a clever way around this behavior?
I know I could add a button which needs to be clicked once the date is
picked.... but it seems my idea should work WITHOUT having to add a
commandbutton.
Also, I can't seem to figure out how to fire the click and double-click
event of this control (Datetimepicker). I can click like a banchee, but
neither of these events fire.... ??????
Sorry if this is a dumb question.
i'm a little confused ref the DateTimePicker1_ValueChanged event.
I want to run some code when a NEW date is picked, but this event also fires
when you change months (as it assumes the day of the current month becomes
the same day of the next month, assuming you use the "right arrow" to jump
to the next month.)
SO.... which event do I select such that it fires ONLY when a new date is
selected?
---or---- what's a clever way around this behavior?
I know I could add a button which needs to be clicked once the date is
picked.... but it seems my idea should work WITHOUT having to add a
commandbutton.
Also, I can't seem to figure out how to fire the click and double-click
event of this control (Datetimepicker). I can click like a banchee, but
neither of these events fire.... ??????
Sorry if this is a dumb question.