Solved

DateTimePicker

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

821 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