Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Events and Methods in an ActiveX
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Divers
Thread ID:
01523767
Message ID:
01523770
Vues:
37
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform