Welcome Guest Search | Active Topics | Sign In | Register

WebBrowser WindowClosing Event disable webview when cancel Options
Fabien
Posted: Tuesday, July 7, 2015 9:37:57 AM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2014
Posts: 130
Hi,

With your latest build, if you set e.Cancel = true in the Closing event (after a window.close in js), the webview still displayed but seems to be disabled.

Nothing can be done on it (selected text, type in text field, ...)

Thanks to fix.

You can try on this web page : http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_win_close

In your sample project add an handler on the Closing event and set the e.Cancel property to true.

1. Navigate to this page http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_win_close
2. Clic on Open
3. Keep the tab open and the clic on Close
4. New tab still opened but the text in the tab can be selected
eo_support
Posted: Saturday, July 11, 2015 6:58:10 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

We have posted a new build that should fix this issue. You can download the new build from our download page.

Thanks!
Fabien
Posted: Thursday, July 16, 2015 5:29:33 AM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2014
Posts: 130
Hi,

Works well in 2015.1.94.2 release, thanks!
eo_support
Posted: Thursday, July 16, 2015 9:37:08 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Great. Thanks for confirming the fix!


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.