I am using the following code to check if the user made a right click inside a form
When the user right clicks on a blank space on the form, the event works fine, but if the user right clicks on a control inside the form, the event is not triggeredCode:Private Sub Detail_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) If Button = acRightButton Then msgbox "Some text" End If End Sub
Is there a way to do it without adding a MouseUp event for all controls inside the form?