Results 1 to 4 of 4

Thread: A silly question.....

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    Scotland
    Posts
    96
    Simple I suppose, but for the life of me I can't figure it out!

    How can you detect a Right Hand mouse click on a form?

    Thanks in Advance!
    H.
    Just trying to muddle through...

  2. #2
    Frenzied Member sebs's Avatar
    Join Date
    Sep 2000
    Location
    Aylmer,Qc
    Posts
    1,606
    Private Sub Form1_MouseDown(Button as integer)
    If Button = 2 then right button
    End Sub

    Not sure if it's 2,but try it and adjust it.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    Scotland
    Posts
    96
    Thanks! You're a life saver

    H.
    Just trying to muddle through...

  4. #4
    Hyperactive Member
    Join Date
    Nov 2000
    Location
    Mexico City
    Posts
    306

    Cool

    A little bit more elegant: Use constants.
    vbRightButton
    If things were easy, users might be programmers.

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