Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How is EventHandler() different from BindEvents?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00622808
Message ID:
00622854
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform