TMSFNCWXPDFViewer scroll position

In the TMSFNCWXPDFViewer component how can I know when the scroll has reached the end of the page?


The TTMSFNCWXPDFViewer does not keep track of the scroll position. Any scrolling you can do is automatically handled by the underlying embedded browser as it depends on many factors: dimensions of the pdf, zoom, and so on...

Why do you need this?

I would like to use the MouseWheelDown event to scroll the page and move to the next page only when the scroll has reached the end

We have looked at the options for this but it's tricky. At browser level the mousewheel event is triggered before the scroll event, so it won't contain the updated scroll positions at that time. Even if we introduce a separate OnScroll event for the component, getting it working for all supported platforms is not straight forward.

This will need to be properly researched so I've put it on our todo list as a feature request.