WWWJax
October 4th, 2001, 02:12 PM
I have a picture box and I want to execute one event if the right mouse button is pressed ( I am using the MouseUP where Button=2) and another event if I doubleclick or left mouse button click.
For some reason the MouseUP Button=2 event works fine, but the Dblclick event or the Click or MouseDown click doesn't fire when used in my same form module.
I've heard about an order of precedence on mouse events. MouseDn comes first, then MouseUp, then Click, then Doubleclick. Does this mean that if I have a Mouseup event for a picture box that I cannot assign a Doubleclick to that same picture box?
To test the events...
I created a new project and created one simple picture box and applied the Click and DblClick event to it. The event only worked if I 'Right' clicked or 'Right' Doubleclicked. Why would that be?
My mouse operates properly but something must be changing the features of my mouse during Run time.
Thanks.
Wendell W. Wilson
Software Engineer
St. Petersburg, FL
For some reason the MouseUP Button=2 event works fine, but the Dblclick event or the Click or MouseDown click doesn't fire when used in my same form module.
I've heard about an order of precedence on mouse events. MouseDn comes first, then MouseUp, then Click, then Doubleclick. Does this mean that if I have a Mouseup event for a picture box that I cannot assign a Doubleclick to that same picture box?
To test the events...
I created a new project and created one simple picture box and applied the Click and DblClick event to it. The event only worked if I 'Right' clicked or 'Right' Doubleclicked. Why would that be?
My mouse operates properly but something must be changing the features of my mouse during Run time.
Thanks.
Wendell W. Wilson
Software Engineer
St. Petersburg, FL