Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EventHandler Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00798103
Message ID:
00798114
Vues:
21
From the VFP Help File:

"The class must implement the events interface for the particular COM object being passed in the first parameter."

Off hand, I'd say the control does not implement the proper interface.

>Why does this not work:
>
>
>oEventSet = CREATEOBJECT("MyEvents")
>=EVENTHANDLER(ThisForm.MyControl, oEventSet)
>
>
>MyControl is an ActiveX control on the form. MyEvents is a class
>in a PRG containing the event set for the activeX control.
>
>I get a "Function argument value, type or count is invalid" error
>on the EVENTHANLDER line.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform