Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why is MSComm.OnComm firing?
Message
From
30/11/1999 14:43:46
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00296966
Message ID:
00297057
Views:
33
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform