Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How is EventHandler() different from BindEvents?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00622808
Message ID:
00622854
Vues:
23
>How is the new VFP7 eventhandler() function different from BindEvents
>in VFPCOM? Eventhandler looks like it does the exact same thing.
>Is something better about it?

It functions the same. The difference is that you can use Eventhandler() only for classes which were defined programmatically, while VFPCOM.Bindevents() works with any class whether it was created programmatically or visually. It just has to have the method name corresponding to the event name.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform