Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How is EventHandler() different from BindEvents?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00622808
Message ID:
00623244
Vues:
31
>Sorry, I should rather say that TWO objects are placed in VFP. As I said "even receiving object does not have to be placed on the form. It may be just created with CREATEOBJECT()". I see the key here is not that both objects are in the same form or not, but that both objects are "in VFP", so to say. I was talking about creating the receiving object visually.
>
>In this particular case your ActiveX is (I believe) is treated as also VFP object (OLE Control). And BindEvents is not supposed to bind two VFP objects directly.
>The difference between ActiveX and "normal" COM object (DLL or EXE) is that ActiveX can be placed on the form, and combines in its instance the common VFP object propertes and specific ActiveX properties, but COM DLL or EXE cannot do this. That's why I think that ActiveX is treated as VFP object.
>Actually I didn't test BindEvents before with ActiveX, as it was not supposed to work that way, but I might try.

Ok... I think I'm with you now. Thanks for beating that into me!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform