Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How to stop an unwanted mouse click action' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to stop an unwanted mouse click action
Authored by: DVD Plaza on Aug 15, '06 01:46:45AM
robg adds: ...On Windows, the mouse-down action seems to initiate the action, leaving you no chance to cancel. Absolute rubbish, this has been standard behaviour since at least Windows 3.0 - move your mouse away from any button whilst still holding it down and it will pop back up again, release whilst away from it and the action is not initiated. mousedown is NOT used to initiate the event, nor is mouseup - mouseclick is the event used to trigger the button's action and that will only fire if you release the mouse button whilst within the space of that object.

[ Reply to This | # ]