Results 1 to 19 of 19

Thread: How do I activate mouse's scrollwheel

Hybrid View

  1. #1
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: How do I activate mouse's scrollwheel

    sorry, i haven't got VB on this computer and can't get access to the code.

    From memory it should be something like this:
    VB Code:
    1. ' On the Form:
    2. Private Sub MouseWheel(...Parameters...)
    3.     '
    4.     ' code
    5.     Select Case blah
    6.         ' Leave the
    7.         ' Case TypeOf ctl Is TextBox.... one
    8.         ' and the Case Else one - get rid of the others
    9.     End Select
    10.    
    11.     ' Where it has
    12.     Me.Caption = IIf(... 'or something
    13.     ' either decrease or increase the VScrollBars value according the value of rotation
    14. End Sub
    If you post the sub i mentioned above I should be able to help you out more.

  2. #2
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: How do I activate mouse's scrollwheel

    finally got VB back - here's an example (it's not brilliant but it should point you in the right direction)

    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width