Re: Handling Right Mouse Event for NSTableView
Re: Handling Right Mouse Event for NSTableView
- Subject: Re: Handling Right Mouse Event for NSTableView
- From: Lon Giese <email@hidden>
- Date: Tue, 16 May 2006 01:35:06 -0700
NSTableView inherits rightMouseDown: from NSResponder... who simply
passes the event to the next responder... So looks like you'll have to
subclass NSTableview and override rightMouseDown: if you want to
capture that event...
On May 15, 2006, at 3:04 AM, David Chan wrote:
Hi all..
I understand that you can use setAction and setDoubleAction to handle
left mouse click and doubleclick on NSTableView but I have problem
with handling right mouse event.
I was wondering if there is a simple workaround that allow NSTableView
to take action on NSRightMouseDown event without needing to
subclassing the NSTableView. Any thought on this? Thanks in advance.
Cheers
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden