Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX and IMPLEMENTS and EVENTHANDLER
Message
 
À
28/04/2003 08:44:07
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00782166
Message ID:
00782188
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
>I can use implements and eventhandler to bind a ActiveX Event?
>
>
>Regards,

Yep. Open the ActiveX control in the Class Browser, select the event interface from the browser list and drag and drop it into a new PRG. It will automatically create the stub code for the interface. Then just create the class, the ActiveX control, and bind the two:
o = CreateObject("myclass")
ox = CreateObject("SomeActiveX.Control")
EVENTHANDLER(o, ox)
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform