Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


calendar problem

calendar problem

calendar problem

hi all
i have simple form and contain calendar class (Caldatepicker1).the problem is when i build my project and use the class(Caldatepicker1) in this form the project quit automatically.
why that?!

RE: calendar problem

Would you mind telling what datepicker that is, where its from?
This doesn't look like the Common Controls DatePOicker OLE class.

Bye, Olaf.

RE: calendar problem

vfpcalendar class

RE: calendar problem

Where did you get that from, this is no native VFP class, this is, as can be seen a class based on the native control class.
There is no chance telling you what's wrong without having insight into the code.

Bye, Olaf.

RE: calendar problem

So far I do not understand what is wrong with using this object in the form!
OK.In any case, is there From where can I find Foxpro calendar Class specifically.

RE: calendar problem


The class is to be downloaded inclusive working example forms. Please check.



RE: calendar problem


true, it visually looks like that. The comment on that page says it all, the code has a problem with read events. I think I commented this earlier, too. The code does not work as provided, if your code already has a read events, as you can't have two read events.

Bye, Olaf.

RE: calendar problem

Dear Koen: I already used this example in my project and had this problem.

Dear Olaf: Does this mean that there is no solution to this problem or that there is an amendment to some of the codes

RE: calendar problem

The amendment of the code is the job of Craig S. Boyd, but as far as I see his site is just an archive and he has no time to get active on this.

The best alternative is using any other calender control. If w2e begin to amend the code, the next user of the download will simply have the same problem again.

You may give it a try to look for READ EVENTS and CLEAR EVENTS within the whole classlib and eleminate these commands. I asssume a problematic case then will be the missing reaction to the drop down getting removed, when you choose to cancel and not select any date, but click anywhere outside of the dropdown. That is behavior, which also needs to work.

There are samples using MS OLE DateTimePicker control: https://support.microsoft.com/en-us/help/259646/ho...

Bye, Olaf.

RE: calendar problem

Mr. Ameedoo,

Are you willing to publish here a zip file of the form files, the class you use and sample data for us to reconstruct your experience?

Bye Koen

RE: calendar problem

Thank you very much Mr. Olaf and Mr. Koen. He apologized for the delay in responding to the emergency.
I used the example in the previous link and the problem was solved.
Many thanks and appreciation for you.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close