VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Mouse scrolling

by Adlib Logic (2 Submissions)
Category: VB function enhancement
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (10 Votes)

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

Download Mouse scrolling

Download Mouse scrolling (73 KB)

Mouse scrolling Comments

No comments have been posted about Mouse scrolling. Why not be the first to post a comment about Mouse scrolling.

Post your comment

Subject:
Message:
0/1000 characters