Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to EventHandler()
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00688642
Message ID:
00706189
Views:
36
>>Trying to understand the EventHandler() service. VFP HELP seems to indicate that the COM binded with cannot be a VFP object. The example shows an ADO Recordset bind. Could the event handler be bound to an ActiveX object event, like PROGESS BAR, etc.?
>>
>>Thanks
>>Terry
>
>Any ActiveX is a COM object, so if it exposes events, they can be bound with EventHandler() or VFPCOM.DLL. There is a way to bind VFP objects. Not directly to VFP object though, but through another COM object (not VFP) which can raise the event on demand from VFP object. The result will be the same as if you could directly bind them.

Any examples hanging about? It would sure be neat to understand how a VFP COM could be made to send a message to a client form and have that client respond, by either messaging the client or running some client service.

Thanks
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform