I am trying to use the MouseMove event with a command button, but cannot figure out how to prevent the following error:
Compile error: Procedure declaration does not match description of event or procedure having the same name.
The code is very simple. I used "dummy" code here because I can never enter the event handler to get to something useful.
Private Sub Button_Name_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim X as Integer
x = x+1
End Sub
I have taken the parameter list directly from the object browser. I get similar results with other events, including DblClick(), but not Click(). I think that I must be making some fundamental error, but have not been able to identify it. Help!