Home All Groups Group Topic Archive Search About
Author
18 Jan 2005 11:45 AM
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

Author
18 Jan 2005 1:48 PM
Ritesh Jain via DotNetMonster.com
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

--
Message posted via http://www.dotnetmonster.com
Are all your drivers up to date? click for free checkup

Author
18 Jan 2005 5:01 PM
Rob Oldfield
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" <fo***@DotNetMonster.com> wrote in
message news:2a5f858fdddd4a26b5bababddeee5f35@DotNetMonster.com...
> Hi,
>  Did u Tried with CloseUp Event.............
>
>  Private Sub DateTimePicker1_CloseUp(ByVal sender As Object, ByVal e As
System.EventArgs) Handles DateTimePicker1.CloseUp
Show quoteHide quote
>         MessageBox.Show(DateTimePicker1.Value.ToString)
>     End Sub
>
> I hope this will help u................
>
> Regards,
> Ritesh
>
> --
> Message posted via http://www.dotnetmonster.com

Bookmark and Share