|
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).
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
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!
|
|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
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!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
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!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
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!
|
|