Given that I told him to return false on the Canvas Mouse Down and it worked for him then I would think we are talking about the Canvas context and not the Window ?

----- Original Message ----- From: <[EMAIL PROTECTED]>
To: "REALbasic NUG" <[email protected]>
Sent: Tuesday, May 09, 2006 2:50 PM
Subject: Re: ConstructContextualMenu




-------------- Original message -------------- From: Björn Eiríksson <[EMAIL PROTECTED]>

I would say it is not a bug.

If you return true from MouseDown then you are telling REALbasic that you
handled the MouseDown event and internal processing should not take place.


If I understood the original poster, he was returning true in the mousedown in the PARENT window which the canvas was on. As unhandled event are supposed to flow from child to parent and if handled by the child the parent never sees them, I would expect the ConstructContextualMenu event on the canvas to fire ona right click unless the he returned true in the CANVAS MouseDown. That is I would call it a bug if the ConstructContextualMenu on the cancas did not fire. On Win 2K I just created a new project and put a canvas on the default window. In the Canvas ConstructContextualMenu event I put:
MsgBox "Got here"
In the Window Mouse down I put Return True
When I ran the project and right clicked on the canvas I go the MsgBox as i woudl expect ... If that's not the case on the Mac I would call it a bug (I'll try it this evening when I get home)
- Karen
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to