Deactivating the Scroll Bar

G

Guest

I have a form that is 2 pages long. When using the scroll bar, the form
scrolls through the records and not down the page.

I researched this situation in the database and found a suggestion to view
Lebans' website at http://www.lebans.com/mousewheelonoff.htm which I did but
I still can't get it to work.

I tried the following code in the On Open (shown) and On Load event of the
form but it isn't working.

Private Sub Form_Open(Cancel As Integer)
Dim blRet As Boolean
blRet = MOUSEWHEELOFF
End Sub

The DLL file given at the website resides in the same directory as the
database as it instructs.

Can anyone tell me what I am doing wrong? Thank you very much.
 
M

missinglinq via AccessMonster.com

I suspect you've made the same mistake many people do with this wonderful
little hack, you've forgotten to copy the module from the sample db into your
own db! If you go into the Lebans' sample db and click on Modules you'll
find one named, I think it is, modMouseHook. Go back to your own db and
import this module into it, and I believe you'll find it works!

Good luck!

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
 

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

Top