mouse wheel question

G

Gary

I have a bound form that moves to a new record when the mousewheel is
moved up or down.
(I am using Access 2000). I need to check that a field on a combobox is
not blank before the user scrolls to a new record. So, when the user
scrolls his/her mouse wheel, I want to display a messagebox that says
"you can't move to a new record until you select something from this
combobox".
- but -
I can't seem to capture the "mouse wheel scroll" event. Does this event
exist?
- or -
What event can I use (just before user leaves the record to bring up a
new one into the form)?
Thanks -
Gary
 
D

dragos

Gary said:
I have a bound form that moves to a new record when the mousewheel is
moved up or down.
(I am using Access 2000). I need to check that a field on a combobox is
not blank before the user scrolls to a new record. So, when the user
scrolls his/her mouse wheel, I want to display a messagebox that says
"you can't move to a new record until you select something from this
combobox".
- but -
I can't seem to capture the "mouse wheel scroll" event. Does this event
exist?
- or -
What event can I use (just before user leaves the record to bring up a
new one into the form)?
Thanks -
Gary


Check:
http://support.microsoft.com/kb/278379

Also Mr. Lebans has his own library (does not require register, because
it is not an activex or com). For Mr. Lebans version check:
http://www.lebans.com/mousewheelonoff.htm
You can also learn a lot from this site.

Cheers!
Dragos
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top