Solved

DateTimePicker

Posted on 2010-09-13
3
507 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now