Solved

DateTimePicker

Posted on 2010-09-13
3
516 Views
Last Modified: 2013-11-26
Is there a  property of the DateTimePicker for when the drop-down calendar disappears and the updated date is displayed on the DateTimePicker?  
The change property for the DateTimePicker fires off each time the user navigates through the drop down calendar of the dateTimePicker?
I need an event for when the drop-down calendar of the DateTimePicker disappears not each time it is clicked.
0
Comment
Question by:dastaub
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
kris_per earned 500 total points
ID: 33667298

You can use the 'CloseUp' event that occurs when the calendar drop down is closed up.
0
 
LVL 16

Expert Comment

by:kris_per
ID: 33667311

public Form7()
{
            InitializeComponent();

            this.dateTimePicker1.CloseUp += new System.EventHandler(this.dateTimePicker1_CloseUp);
}

private void dateTimePicker1_CloseUp(object sender, EventArgs e)
{
}
0
 

Author Closing Comment

by:dastaub
ID: 33667388
that was it, thank you
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question