Date Time Picker Event Question

  • Thread starter Thread starter Grumpy Aero Guy
  • Start date Start date
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.
 
Grumpy,

I think that you have to explain your question more.
Non USA notation.

1-4-2005
1-5-2005
Is this in your opinion a new date or not?

And when not what is than in your opinion a new date.

Cor
 
Back
Top