Welcome Guest Search | Active Topics | Sign In | Register

WebBrowser WindowClosing Event Options
Arie
Posted: Monday, June 23, 2014 5:53:28 AM
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
eo_support
Posted: Monday, June 23, 2014 1:23:54 PM
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!
Arie
Posted: Monday, June 23, 2014 2:07:06 PM
Rank: Newbie
Groups: Member

Joined: 6/22/2014
Posts: 6
Great, thanks.
eo_support
Posted: Thursday, June 26, 2014 5:17:04 PM
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.aspx

You can download the new build from our download page.

Thanks!
Arie
Posted: Friday, June 27, 2014 10:45:39 AM
Rank: Newbie
Groups: Member

Joined: 6/22/2014
Posts: 6
Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.