Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Events and Methods in an ActiveX
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01523767
Message ID:
01523770
Views:
38
>>I have been using an ActiveX HTML editor by placing it in a container object and saving the container as a class in a VCX. Since that container is always used inside another container I decided to load the editor directly with code
.AddObject("oBrowser","olecontrol", "rmpHTML.HTMLed")
when I create the outer container. However, I cannot figure out how to access the ActiveX editor's methods and events.
>>Any ideas?
>
>:-)
>That's is why it is better to place it in design time.
>Check EVENTHANDLER() function in HELP

I was trying to add it at run time to simplify things. The user can add the containers as needed. If I have to use EVENTHANDLER() then it makes a lot more sense to go back to the old way and just have to put up with two containers.

Thanks for the help.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform