On Feb 16, 2006, at 6:05 PM, Björn Eiríksson wrote:

IsCMMClick returns false on Right click if Shift or other mod keys are held down

To reproduce:

Put a canvas and ListBox on a Window, then put the following code on the Canvas MouseDown event, then Right Click the Canvas and you get "Right", then hold down Shift and Right click it again, and you will get "Left" which is incorrect.

if IsCMMClick then
   ListBox1.AddRow("Right")
else
   ListBox1.AddRow("Left")
end if

OK, fine...

I can reproduce it (also on a Macintosh 10.4.4 running REALbasic 2006).

But you should really be using "IsContextualClick" instead because the IsCMMClick has been depreciated. The same bug appears when you use IsContextualClick; so I would update your code and the bug report to refer to IsContextualClick.

_______________________________________________
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