Connecting Tech Pros Worldwide Forums | Help | Site Map

mouse wheel off without dll file

Newbie
 
Join Date: Feb 2007
Posts: 4
#1: Jun 21 '09
hi,
it`s give me pleasure to join with u
i have a problem in code below
the problem:
when i move up mouse wheel the code work but in move down it not work
the code:

Expand|Select|Wrap|Line Numbers
  1. Public CurrentBookmark As String
  2. Public MouseWheelMoved As Boolean
  3.  
  4. Private Sub Form_Current()
  5. On Error Resume Next
  6. If MouseWheelMoved = True Then
  7. Me.Bookmark = CurrentBookmark
  8. End If
  9. MouseWheelMoved = False
  10. End Sub
  11.  
  12. Private Sub Form_MouseWheel(ByVal Page As Boolean, ByVal Count As Long)
  13. On Error Resume Next
  14. CurrentBookmark = Me.Bookmark
  15. MouseWheelMoved = True
  16. MsgBox "you cannot use mouse wheel."
  17. End Sub
  18.  
please help me
the file is attached
Attached Files
File Type: zip mouse.zip (18.0 KB, 9 views)

Reply


Similar Microsoft Access / VBA bytes