That does it, thanks!
I also have cases, where I need Tactivexcontainer from TEvsWebbrowser?
For example procedure dosomething(WB: TActivexContainer);
Documentcomplete has asender and pDisp.
I would like to do: dosomething(TActiveXcontainer(asender)); but it crashes.
What would be correct way to do that?