Help on Mouse Scroll in listbox - VBA Code

baul14

Registered User.
Local time
Today, 16:33
Joined
Sep 17, 2003
Messages
10
Hi,

i am looking for a code that will really help my listbox work. I have this listbox that contain a lot of records, i want to use a scroll mouse to navigate through all the records in that listbox. i can only use the navication bar. but for me I guess it's more easier if I can also use the mousewheel.

is there anybody can help me for this? I really need it. I would really appreciate the help.

I read some of threads 'bout trapping the scrolling mouse. that doesn't help me really.


baul
 
I am not sure what version of Access you are using but I just created a list box in AccessXP and then used my GE optical scroll mouse and had no problem scrolling with the wheel. What version of Access are you using and what kind of mouse. I have all three versions of access loaded so I can test all of them once I know your environment.

GumbyD
 
Just tried it on an Access 97 database and it works there too. It may be the mouse or Operating system you are using. I am pretty sure that functionality is provided by the Operating System, I am using Windows 2000, what are you running?

GumbyD
 
i'm using win2k pro, and i'm using access2000. my mouse is kensinton. i know there's a way of putting this mouse wheel in codes. but i just don't know how. i haven't tested diff kind of mouse from my system but i'm really looking for codes. if my mouse is one of the problem i guess i should find a driver that will work with this access. coz my mouse wheel works in all softwares i use.
 
I am sure you are doing this, but are you clicking into the list box before you start to scroll with the wheel?
 
You may want to look at the MouseWheel property or event in the help. There is one code sample, but it did not seem to do much.
 

Users who are viewing this thread

Back
Top Bottom