Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement