I want to be able to once scrolling to an anchor then scroll down a page. I have the following code:
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?
B4X:
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?