Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Right Click event 1

Status
Not open for further replies.

bkdobs

Technical User
Sep 22, 2005
33
CA
Is there a method to steal control of the right click mouse event so as to create my own support dialogs on form elements?
 
This is a textbox example
Code:
 Private Sub ItemName_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    If Button = acRightButton Then
        MsgBox "You clicked rightmouse"
    End If
End Sub

________________________________________________________
Zameer Abdulla
Help to find Missing people
Do not cut down the tree that gives you shade.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top