Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RCSCalendar Class
Message
De
03/06/2009 14:48:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01283517
Message ID:
01403480
Vues:
338
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform