I need to determine when the user scrolls through 60% of the content in the panel, and I was not very lucky to find a solution for this.
Thanks in advance for any ideas.
In the Scroll Event pane, you can do
double scrollPercentage = (double) scrollbar.VerticalScroll.Value / scrollBar.VerticalScroll.Maximum; if (scrollPercentage > 0.6) { ... }
Source: https://habr.com/ru/post/895642/More articles:send events from python to javascript using sl4a - pythonCustomize input box text for jQuery mobile devices - jqueryAdding a map inside a loop and a conditional statement to scala - scalaWhat is a useful versioning strategy? - buildDelayed xna game with timers - multithreadingThe interface disappears, but the warning dialog is not displayed - androidHide / Show Div after submitting the form? - javascriptA warning dialog is displayed but not displayed - androidIs there an effective way to βcontinuousβ autofocus? - androidFork and Execlp - cAll Articles