realbasic-nug
[Top] [All Lists]

Re: Wrong Canvas.MouseUp Event?

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Wrong Canvas.MouseUp Event?
From: Tom <tom@helios.de>
Date: Thu, 30 Apr 2009 14:35:25 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <4588ac300904300504y6b586588w83d0de6c944d9b70@mail.gmail.com>
References: <49F9709D.5080107@helios.de> <4588ac300904300504y6b586588w83d0de6c944d9b70@mail.gmail.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)
Jim Dossey wrote:
The Language reference states:
Canvas.MouseUp Event:
The mouse button was released inside the Canvas region at the location passed 
in to x,y.
I don't see this as a bug. For example, a user might click on a control and ,then realize that was a mistake. So they move the mouse out of the control before releasing the button. By checking the X,Y coordinates you can see what the user did and take the appropriate action. There are probably other much better reasons for having mouseup events outside of the control.

That is exactly what I do now, but from the Language reference there should be no need for checking when the MouseUp event only occurs when the mouse is inside the canvas region.


Cheers,

Tom

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>