Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using RCS Calendar Class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01413867
Message ID:
01414723
Vues:
129
>Hi Paul,
>
>>My suggestion was to look at the AddDates() method - you can intercept the click and allow/disallow date selection there.
>
>I thought about this, too, but the color of the day changes independently on what happens in AddDate.

Yeah, Marshal mentioned that as well. I guess I didn't look close enough at what he was telling me - I assumed it worked because I didn't see the background get changed. That was only because it wasn't refreshing based on the code I sent.

What I should have probably done was allow you to return .T. or .F. from DateClick(), since it's fired before any of the other code is run. Returning .F. should cancel the default behavior. The background coloring code is pretty hokey as well - I'm not sure why I hardcoded the values in there. And all that code really doesn't belong in Click() anyway.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform