Re: Control-Click vs Right-Click in NSTableView

2008-08-20 Thread Matthew Mashyna
On Aug 20, 2008, at 6:09 PM, Jean-Daniel Dupas wrote: Le 21 août 08 à 00:02, Matthew Mashyna a écrit : I have an NSTableView subclass whose only override method is rightMouseDown. I override it so I can have it select the table row before validating and presenting the context menu (by the

Re: Control-Click vs Right-Click in NSTableView

2008-08-20 Thread Corbin Dunn
On Aug 20, 2008, at 4:25 PM, Sean McBride wrote: On 8/20/08 6:02 PM, Matthew Mashyna said: This works nicely but I have found that it does not work for control clicks. For a another view item I overrode mouseDown to check for the control key and call [self rightMouseDown] if needed. Have yo

Re: Control-Click vs Right-Click in NSTableView

2008-08-20 Thread Sean McBride
On 8/20/08 6:02 PM, Matthew Mashyna said: >This works nicely but I have found that it does not work for control >clicks. For a another view item I overrode mouseDown to check for the >control key and call [self rightMouseDown] if needed. Have you seen:

Re: Control-Click vs Right-Click in NSTableView

2008-08-20 Thread Jean-Daniel Dupas
Le 21 août 08 à 00:02, Matthew Mashyna a écrit : I have an NSTableView subclass whose only override method is rightMouseDown. I override it so I can have it select the table row before validating and presenting the context menu (by then passing it up to [super rightMouseDown]). This work

Re: Control-Click vs Right-Click in NSTableView

2008-08-20 Thread Randall Meadows
On Aug 20, 2008, at 4:02 PM, Matthew Mashyna wrote: I have an NSTableView subclass whose only override method is rightMouseDown. I override it so I can have it select the table row before validating and presenting the context menu (by then passing it up to [super rightMouseDown]). This wo

Control-Click vs Right-Click in NSTableView

2008-08-20 Thread Matthew Mashyna
I have an NSTableView subclass whose only override method is rightMouseDown. I override it so I can have it select the table row before validating and presenting the context menu (by then passing it up to [super rightMouseDown]). This works nicely but I have found that it does not work for