DateTimePicker events

  • Thread starter Thread starter Rob Oldfield
  • Start date Start date
R

Rob Oldfield

Hi,

I'm looking for which event to use with regard to a DateTimePicker control.
I want my event to fire when the actual contents of the control is
changed... but I'm finding that all events are firing when I, for example,
scroll from month to month. Presumably I'm missing something very
straightforward but if someone has an idea then it would be much
appreciated.

Thanks
 
Hi,
Did u Tried with CloseUp Event.............

Private Sub DateTimePicker1_CloseUp(ByVal sender As Object, ByVal e As System.EventArgs) Handles DateTimePicker1.CloseUp
MessageBox.Show(DateTimePicker1.Value.ToString)
End Sub

I hope this will help u................

Regards,
Ritesh
 
I hadn't...and it looks to be half way there.... but it doesn't fire when a
user changes the text manually.


Ritesh Jain via DotNetMonster.com said:
Hi,
Did u Tried with CloseUp Event.............

Private Sub DateTimePicker1_CloseUp(ByVal sender As Object, ByVal e As
System.EventArgs) Handles DateTimePicker1.CloseUp
 
Back
Top