Rank: Newbie Groups: Member
Joined: 6/22/2014 Posts: 6
|
Dear support,
I started testing the EO.WebBrowser. I need to implement WindowClosing Event (to catch when the script tries to close the window, e.g. window.close).
I used AxSHDocVw.AxWebBrowser to handle this event. How can I do this in EO?
Thanks, Arie
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Currently we do not have a direct equivalent of this event. We will add a Closing event on the WebView class and provide an update build to you as soon as possible. The Closing event will take a CancelEventArgs which will allow you to cancel closing.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 6/22/2014 Posts: 6
|
Great, thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, We have posted a new build that added Closing event on the WebView class: http://www.essentialobjects.com/doc/6/eo.webbrowser.webview.closing.aspxYou can download the new build from our download page. Thanks!
|
Rank: Newbie Groups: Member
Joined: 6/22/2014 Posts: 6
|
Thanks
|