Welcome Guest Search | Active Topics | Sign In | Register

SetOptions for WebView created via NewWindow Options
ozheek
Posted: Wednesday, October 5, 2016 9:01:42 AM
Rank: Advanced Member
Groups: Member

Joined: 8/29/2016
Posts: 64
Hi,

I am creating WebViews via ThreadRunner.CreateWebView(options).

When WebView created in event NewWindow, do I need to set options for new WebView via WebView.SetOptions?
Or it will be copied from parent WebView?

As I understood I can't use SetOptions when I create WebViews via ThreadRunner.
eo_support
Posted: Wednesday, October 5, 2016 9:51:28 AM
Rank: Administration
Groups: Administration

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

You do not need to call SetOptions on the window created through NewWindow event. The new window will be automatically associated to the ThreadRunner that created the original WebView.

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.