473,394 Members | 1,641 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

dateTimePicker strange behaviour

Hello there,
using .net 1.1, a simple winform app, with a single
datTimePicker control and the handler
dateTimePicker1_ValueChanged. The handler displays a
MessageBox. When i change the day selected in the
datTimePicker everything seems OK, but when i change the
month, the event is send continuously and the handler
called repeatidely as if i was changing the month
again....
Does anyone kow what is going on and/or how can i fix
this beahviour
thanks, daniel.
Jul 21 '05 #1
2 1543
-----Original Message-----
Hello there,
using .net 1.1, a simple winform app, with a single
datTimePicker control and the handler
dateTimePicker1_ValueChanged. The handler displays a
MessageBox. When i change the day selected in the
datTimePicker everything seems OK, but when i change the
month, the event is send continuously and the handler
called repeatidely as if i was changing the month
again....
Does anyone kow what is going on and/or how can i fix
this beahviour
thanks, daniel.
.


Hello,
I was have the same problem too.
To solve this problem inherits the class DateTimePicker
and overrides this event, and control the event how to you
want!
Jul 21 '05 #2
thanks,

dan.
Jul 21 '05 #3

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

Similar topics

9
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...
1
by: John Smith | last post by:
Hey folks, Got some strange behavior going on here. I have a datetimepicker with showcheckbox = true; If I set Checked=true and set the Text of the datetimepicker, then then the Checked...
0
by: Uchiha Jax | last post by:
When using a strongly typed dataset (generated from the Visual Studio IDE from an XSD file) and databinding I get a really odd error when binding to both a combox and a datetimepicker. I bind...
2
by: daniel | last post by:
Hello there, using .net 1.1, a simple winform app, with a single datTimePicker control and the handler dateTimePicker1_ValueChanged. The handler displays a MessageBox. When i change the day...
1
by: Robinson | last post by:
Hi, I want a user control I have to "dissapear" when it loses the focus. The control is made up of some other controls however, a text box, a button and a DateTimePicker. In order to effect...
0
by: ChrisM | last post by:
I'm trying to display the dropdown calendar on my DateTimePicker control from another button on the form. I've managed to do this using SendMessages as follows: const Int32 WM_LBUTTONDOWN =...
1
by: Kevin | last post by:
I have put a VS2005 sample project up here: http://www.kevinandkiran.com/CSharpApplication.zip (its only 50k) Basically I have a class that contains a date property, which is initialised to...
8
by: Dox33 | last post by:
I ran into a very strange behaviour of raw_input(). I hope somebody can tell me how to fix this. (Or is this a problem in the python source?) I will explain the problem by using 3 examples....
0
by: =?Utf-8?B?TWljaGFlbA==?= | last post by:
Hi Everyone, I've got a real strange issue with the datetimepicker (DP) that just seemed to start (at least just noticed today). During the load process of the form (actually contains 3...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.