Welcome Guest Search | Active Topics | Sign In | Register

webView.SetScrollOffset question Options
lsl
Posted: Monday, February 1, 2016 8:07:40 PM
Rank: Member
Groups: Member

Joined: 1/14/2016
Posts: 28
my steps:
1: for (int i = 0; i < 11; i++)
{
webView2.SetScrollOffset(0, i*130);
Thread.Sleep(100);
}

2: When I click the button (↓),the offset should be 1300+(base=1300).However, the base actually is 0, which means when I click, the scrolloffset is (0,0).
eo_support
Posted: Monday, February 1, 2016 10:36:37 PM
Rank: Administration
Groups: Administration

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

Please use WebView.DoEvents instead of Thread.Sleep. Your main thread needs to continue pumping messages in order for things to keep going with the WebView.

Thanks!
lsl
Posted: Tuesday, February 2, 2016 12:35:25 AM
Rank: Member
Groups: Member

Joined: 1/14/2016
Posts: 28
eo_support wrote:
Hi,

Please use WebView.DoEvents instead of Thread.Sleep. Your main thread needs to continue pumping messages in order for things to keep going with the WebView.

Thanks!


thank you i try 'WebView.DoEvents' but no effect
eo_support
Posted: Tuesday, February 2, 2016 10:29:57 AM
Rank: Administration
Groups: Administration

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

Please try to isolate the problem into a test project and send the test project to us. Once we have that we will investigate further.

Thanks!
eo_support
Posted: Tuesday, February 9, 2016 6:25:06 PM
Rank: Administration
Groups: Administration

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

This is just to let you know that we have received your test project and we can reproduce the problem. We are still researching for the solution though and we will reply again if we have an update.

Thanks!
eo_support
Posted: Sunday, February 28, 2016 9:48:37 PM
Rank: Administration
Groups: Administration

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

Please download the new version from our download page. This version fixed the scroll problem. Note that this is 2016 release. If you already have a license for 2015 and was purchased within one year, you can revisit your license key page to download a new license key for this release.

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.