Welcome Guest Search | Active Topics | Sign In | Register

Browser Component Keep Running Even If Window is Closed Options
Sameer Dubey
Posted: Wednesday, July 24, 2019 3:45:12 AM
Rank: Newbie
Groups: Member

Joined: 7/17/2019
Posts: 9
Dear Team,

Do we need to write any code for making WebView close explicitly as it keeps running in background even if WebView Window is closed.

Thanks,
Sameer
eo_support
Posted: Wednesday, July 24, 2019 11:47:33 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
No. If a WebView is created inside a window, the WebView will be automatically closed when the parent window is closed.
Sameer Dubey
Posted: Friday, July 26, 2019 1:50:02 AM
Rank: Newbie
Groups: Member

Joined: 7/17/2019
Posts: 9
I am using under MetroWindow ( It is user control) (MahaApps Metro components)
anyways solved it by closing the component on Windows Closing Event
eo_support
Posted: Friday, July 26, 2019 7:52:21 AM
Rank: Administration
Groups: Administration

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

Our components will be closed when the parent window handle is destroyed. So for for some reason the parent window is not destroyed (for example, only hidden), then the component will not be destroyed. In that case you can explicitly destroy it.

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.