Mouse Wheel

The MouseWheel event occurs in Form view, Datasheet view, PivotChart view, or PivotTable view when the user rotates the mouse wheel on a mouse device that has a wheel. This event takes the following two arguments: ■ Page — Returns True if the page was changed.

Count — Specifies the number of lines that were scrolled with the mouse wheel.

^^ Note: Because there is no Cancel argument, you cannot use the

MouseWheel event to prevent users from using the mouse wheel to scroll through records on a form. If your application requires this feature, search the web for the Microsoft Knowledge-Base article Q278379.

0 0

Post a comment