Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX and IMPLEMENTS and EVENTHANDLER
Message
 
To
28/04/2003 08:44:07
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00782166
Message ID:
00782188
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform