Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why is MSComm.OnComm firing?
Message
De
30/11/1999 14:43:46
 
 
À
30/11/1999 13:53:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00296966
Message ID:
00297057
Vues:
32
>VFP doesn't sink ActiveX events - the event fires, but since VFP doesn't know about it, VFP doesn't take any action based on it. VFPCOM allows you to sink ActiveX events in VFP using VFP code - lets VFP respond to the occurance of the OnComm event.
>
>Whether or not VFP does anything, the event still fires.

You could do this before VFPCOM with ActiveX controls, because the OLE container lets you bind code to these events. VFPCOM bought us the ability to do this with COM objects that weren't hosted in an OLE container (like any COM object instanciated with CREATEOBJECT).

Semantics, I guess, but an ActiveX control has a UI, and if it is being used on a VFP form, it is hosted in an OLE container.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform