Datetimepicker Control Question
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
Hello All,
I have a datetimepicker whose initial format is:
DateTimePicker1.Format = DateTimePickerFormat.Custom
DateTimePicker1.CustomFormat = " "
DateTimePicker1.Checked = False
which will change to
DateTimePicker1.Format = DateTimePickerFormat.Short
DateTimePicker1.Checked = True
After a value is selected.
Scenario: When selecting a date value from the datetimepicker for the first
time, from the dropdown calendar I am able to select a date but the calendar
does not automatically disappear. I attempt to select another value while
the calendar is still on the screen but am unable to do so.
Question: Is there an event/method that I may fire/use to close the drop
down calendar after selecting a date for the first time?
Thank you for any input.
.
Relevant Pages
- Re: Viewing Calendar in a different culture is not working
... I thought Turkey used the Gregorian ... I meant when I click on the DateTimePicker down arrow and it opens, ... title is in Turkish but the date is in Gregorian date, ... I get Swedish text and format in the calendar, if I set it to US English ... (microsoft.public.dotnet.languages.csharp) - Re: Viewing Calendar in a different culture is not working
... I meant when I click on the DateTimePicker down arrow and it opens, ... title is in Turkish but the date is in Gregorian date, ... I get Swedish text and format in the calendar, if I set it to US English ... I want to view the calendar in another culture, ... (microsoft.public.dotnet.languages.csharp) - Re: Programmatically select day subfield in datetime picker
... You are correct, after closing the calendar dropdown, the first element is ... I couldn't find a good method to catch the dropdown closed event. ... You can take a closer look at the DateTimePicker class if you are using ... this approach will move the selection right EVERY time the ... (microsoft.public.dotnet.framework.windowsforms.controls) - RE: Form event not firing on change
... hornets-nest that was known as "Microsoft Calendar 11 Active X control" One ... Dave Hargis, Microsoft Access MVP ... My main form handles selecting the group key for the rows. ... (microsoft.public.access.forms) - Re: lining up numbers on calendar?
... Didn't have to do anything to the margin, ... There are probably other templates that do more what I want, ... Since the calendar is basically a table, is there a way of selecting it ... I've tried selecting and moving but it mainly does it just with what I ... (microsoft.public.publisher) |
|