Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using RCS Calendar Class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01413867
Message ID:
01414723
Views:
132
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform