Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to EventHandler()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00688642
Message ID:
00706189
Vues:
37
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform