>>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