Disable the mouse wheel in form view

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi I am trying to write an event procedure to effectively disable the record
scrolling function of the mouse wheel, I have so far written the following...

Private Sub Form_MouseWheel(ByVal Page As Boolean, ByVal Count As Long)
MsgBox ("This function is disabled")
Recordset.record = Recordset.record - 1
End Sub

but after the message box all I get is "object doesn't support this property
or method" My primary key is Membership_No and I have tried a few things with
that but don't seem to be making any headway.

Any help would be greatly appreciated
Steve
 
Addendum

Sorry guys, got it solved by using recordset.moveprevious

Thanks though to thos who were thinking for me.

Kind regards
Steve
 

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

wheel mouse event 3
On Mouse Wheel 9
Disable mouse 1
Mouse Wheel 1
MouseWheel Scrolling Bug Help!!! 2
Diabling the scroll wheel on the mouse 2
Mouse Wheel 1
Disable Mouse wheel scrolling 1

Back
Top