Date Time Picker Event Question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Grumpy Aero Guy

    #1

    Date Time Picker Event Question

    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.

    --


    Frank Bachman
    (Grumpy Aero Guy)



  • Cor Ligthert

    #2
    Re: Date Time Picker Event 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


    Comment

    Working...