Click, drag, release
- Posted by thomas at columbus.rr.com Jun 08, 2002
- 370 views
I have a window that I want people to be able to draw on with the mouse. I want to test on every firing of the onMouse event whether the mouse button is down or up, so I can program my other routines accordingly. Right now, the LeftDown and LeftUp events are only fired once per "drag". I do not want to have a variable that stores which the last event was, because if the mouse button is released outside of the window it will continue to drag until they click again. Can somebody help with this problem? ~Tom