VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Mouse scrolling

Adlib Logic  (2 Submissions)   VB function enhancement   Intermediate   Wed 3rd February 2021

Vb's textbox will scroll up/down when you scroll with the mouse wheel, so will combo boxes. For those controls that cannot do this you need to add this functionality manually. The zip file includes a module for just this purpose and an example form (see screenshot) to show how to use it. The module recieves the mousescrolling event and then calls the mousemove event of the corresponding control. The code in the mousemove event sub must then check the module to see whether scrolling has indeed taken place, and if so in what direction. It can then respond by changing the .Top property or .TopRow property. This is particularly useful for MSFLEXGRID.

Rate Mouse scrolling (11(11 Vote))

Download Mouse scrolling

Mouse scrolling Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters