willemh Posted September 13, 2018 Share Posted September 13, 2018 Hi there, Is there a way to get the current x and y positions of a scrollbox after scrolling? I see that there is a onscroll event (https://www.w3schools.com/Jsref/prop_element_scrolltop.asp). How can I get this event fired and the x and y positions back in delphi? Willem. Quote Link to comment Share on other sites More sharing options...
GerhardV Posted September 13, 2018 Share Posted September 13, 2018 I don't have an answer for you, but what you are trying to achieve might be all ok in a desktop app environment but certainly would be a killer in a web app. You do not want to send scroll events back to the server over the internet, what if the user scrolls up and down constantly? It is fine to handle the event on the client side though. So think carefully about the design approach I would suggest. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.