Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RCSCalendar Class
Message
From
03/06/2009 14:48:23
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01283517
Message ID:
01403480
Views:
337
I downloaded your rcsCalendar classes several months ago, but I've just now begun re-building my custom calendard picker, which used the famous ActiveX control, to use yours.


Actually, I just subclassed your rcsDateTimePicker, and added a few more controls to the contrainer: A spinner, command buttons for "Yesterday" and "Today" which are sometimes helpful in our domain, and it can also show the Day of week, again, sometimes helpful in our app. I added flags for each of these new controls so you can easily configure it to your liking depending on what the form needs.

I like your classes. Thanks for sharing.

(See attached screenshot)




>>>>Thanks Paul - It's a very nice component. I'm going to play around with it a bit to see if I can get it to work in VFP7. I'm not too sure what the VFP7 equivalent to bindevent is, but hopefully I can figure it out in short order.
>>>
>>
>>Paul, do you happen to have the older version to share?
>
>Not really. I think I've been using the BINDEVENT stuff for a while in that class. You can get the same behavior by manually putting code in the methods/event(s) I'm binding to, to call the method that is bound to it.
>
>For example, if the code was:
>
>BINDEVENT(ThisForm, "SomeMethod", This, "MyOtherMethod")
>
>This.MyOtherMethod is automatically called anytime a call to ThisForm.SomeMethod() is run. So, you could get the same behavior by adding code in the "SomeMethod" method/event that called MyOtherMethod.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform