datepicker event-VBForums
Results 1 to 6 of 6

Thread: datepicker event

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2011
    Posts
    34

    datepicker event

    The event I'm currently using for my datetimepicker dtp is the "value changed" event.

    However this does not fire when the user selects the same date again.

    Is there an event which also catching the above case.

    Also what are the manipulation events referring to?

    And I assume these events are the same in c# WPF as they are part of visual studio and not of the language.

  2. #2
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,531

    Re: datetimepicker event

    See if the CloseUp event could be of any help.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." Charles F. Kettering

    Read articles on My Blog 101 LINQ Samples JSON Validator XML Schema Validator "How Do I" videos on MSDN VB.NET and C# Comparison Good Coding Practices VBForums Reputation Saver String Enum Super Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 2011
    Posts
    34

    Re: datetimepicker event

    Thank you, "Calender closed" is a bit closer to what I'm looking for.

    I added if dtp.selected != null to negate some errors when the user first opens and closes without picking a date.

    However this event still fires when the calender closes from the user clicking outside.

  4. #4
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    88,930

    Re: datetimepicker event

    Um, do you actually mean a WPF DatePicker, rather than a Windows Forms DateTimePicker? If so then you have used the wrong name in your post and also you'd be better off posting in the WPF forum. You can use the Report Post icon to send a message to the mods to move this thread.

    2007-2014

    Why is my data not saved to my database? | MSDN Data Walkthroughs
    MSDN "How Do I?" Videos: VB | C#
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts) | WP8 Turnstile Feather Transition with Pivot Control
    Beginner Tutorials: VB | C# | SQL

  5. #5
    Super Moderator Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,521

    Re: datepicker event

    Thread moved and renamed
    Joacim Andersson
    If anyone's answer has helped you, please show your appreciation by rating that answer.
    I'd rather run ScriptBrix...
    Joacim's view on stuff.

    MVP

  6. #6
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,585

    Re: datepicker event

    There is no event, 'cause nothing happend
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.