Control Reference > VSPrinter Control > VSPrinter Events > BeforeUserScroll Event |
Fired before scrolling in response to a user request.
Private Sub VSPrinter_BeforeUserScroll(Cancel As Boolean)
The page may be scrolled using the built-in navigation bar, mouse, mouse wheel, or keyboard, depending on the setting of the NavBar and Navigation properties.
You may set the Cancel parameter to True to prevent the user from scrolling the page.