?
Solved

does tdatetimepicker have some bugs?

Posted on 2003-03-18
5
Medium Priority
?
185 Views
Last Modified: 2010-04-04
i add one code in onchange event of tdatetimepicker.
the code is the following:
showmessage('hello');

and i run the program.
choose the year part by using mouse . input 1.
it is ok.

but when remove the code .
choose the year part by using mouse . input 1.
the error occurs.
access violation at address xxxxxxx.read of address xxxxxx.
who know how to resolve this?
thanks.
0
Comment
Question by:fatchoi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 3

Accepted Solution

by:
LukA_YJK earned 50 total points
ID: 8165045
Yeah, such a strange thing happened with a custom-made component we made:
When you set its event-property and then set it to nil by deleting it it makes that access violation...
0
 
LVL 12

Expert Comment

by:andrewjb
ID: 8165592
Works fine here! Can you cut down the code to a minimum then post?
0
 
LVL 1

Author Comment

by:fatchoi
ID: 8185865
I am using delphi 7.
which version are u using?
0
 
LVL 1

Author Comment

by:fatchoi
ID: 8185872
I found that when input 1111 into year part.
the first time can run.
reset the program and run again.
input 1 in year part.
the error occurs.
0
 

Expert Comment

by:CleanupPing
ID: 9316682
fatchoi:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

764 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