473,480 Members | 1,997 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

DateTimePicker closing up calendar control programmatically

Hi ,
I have a datetimepicker in my application. I am dropping
it down (showing calendar control). When the drop down
window (calendar control) is visible how can I
programmatically closeup the dropdown window(calendar
control).

Thanks in Advance,
Shravan.
Nov 15 '05 #1
1 6466
Hi All,
If anyone is trying this one out, I would like to share
this information, I have a found a resource in the page,
this is a workaround. It simulates a click on the dropdown
button of the control, which closes the window by default
functionality

http://www.dotnet247.com/247referenc...29/148618.aspx

Thanks for the efforts,
Shravan.
-----Original Message-----
Hi ,
I have a datetimepicker in my application. I am droppingit down (showing calendar control). When the drop down
window (calendar control) is visible how can I
programmatically closeup the dropdown window(calendar
control).

Thanks in Advance,
Shravan.
.

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2815
by: snake_2k | last post by:
The button in the datetimepicker class that opens the calendar is too small for my touchscreen users. How can I make a regular button that opens the datetimepicker calendar ? I don't want to...
0
1380
by: E-Cube | last post by:
Hello All, I have a datetimepicker whose initial format is: DateTimePicker1.Format = DateTimePickerFormat.Custom DateTimePicker1.CustomFormat = " " DateTimePicker1.Checked = False which will...
9
3929
by: Guy | last post by:
I have extended the datetimepicker control to incorporate a ReadOnly property. I have used the new keyword to implement my own version of the value property, so that if readonly == true then it...
0
1349
by: Ing. Rajesh Kumar | last post by:
Hi everybody I have created a very useful DateTimePicker user control with a calendar and four DropDownLists for Month, Year, Hour and Minute on it. Solution works fine so i was thinking to put it...
0
346
by: Scott | last post by:
Hi, I need to programmatically drop the .NET DateTimePicker calendar. I did this in VB6 by doing the following: SendMessage DTDateTime.hwnd, WM_KEYDOWN, VK_F4, 0 This worked because the F4...
11
17434
by: Manuel Canas | last post by:
Hi There, I have this problem I'm trying to address but no luck so far, need your help here. How do I set the value of a DateTimePicker Programmatically? When I do this: txtDate.Value =...
0
3537
by: thull | last post by:
I'm trying to modify an older VB6 program and use the DateTimePicker control to give the user the ability to display and modify the system date and time. The VB6 documentation says it is available...
4
3278
by: jehugaleahsa | last post by:
Hello: We were hoping to allow users to have DateTimePicker value null so that a unused date is stored on a Database. Does the control support this? I am pretty sure it doesn't. How would you...
11
4982
by: jessy | last post by:
Hi, I have a problem with my DateTimePicker javascript code which i downloaded , the problem is when i pick the date and the date appears in my Text Field and i click Submit the date which i picked...
0
7041
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7084
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
6929
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5337
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4481
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2984
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
181
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.