B bocker77 Active Member Licensed User Longtime User Jun 19, 2024 #1 I want to be able to once scrolling to an anchor then scroll down a page. I have the following code: Code: Copy cvRules.Text = csText Sleep(0) cvRules.ScrollToAnchor("S9") Sleep(0) Dim d As Double = cvRules.sv.ScrollViewOffsetY Log(d) cvRules.sv.ScrollViewOffsetY = d + 1300 While debugging and running it as is it doesn't scroll but if I set a break at the Dim instruction then continue it works. I thought if I would put some waits in it might solve my issue but no go. Does anyone have any thoughts?
I want to be able to once scrolling to an anchor then scroll down a page. I have the following code: Code: Copy cvRules.Text = csText Sleep(0) cvRules.ScrollToAnchor("S9") Sleep(0) Dim d As Double = cvRules.sv.ScrollViewOffsetY Log(d) cvRules.sv.ScrollViewOffsetY = d + 1300 While debugging and running it as is it doesn't scroll but if I set a break at the Dim instruction then continue it works. I thought if I would put some waits in it might solve my issue but no go. Does anyone have any thoughts?
B bocker77 Active Member Licensed User Longtime User Jun 19, 2024 #2 Never mind. It works perfectly when in Release Mode. This app runs on a tablet which can mirror to a TV. Another app is running on my phone and sends commands (find anchor, page up, page down) to the tablet. I guess with the delay it makes a difference. Upvote 0
Never mind. It works perfectly when in Release Mode. This app runs on a tablet which can mirror to a TV. Another app is running on my phone and sends commands (find anchor, page up, page down) to the tablet. I guess with the delay it makes a difference.