Re: Menu when click on table cell
Re: Menu when click on table cell
- Subject: Re: Menu when click on table cell
- From: Ondra Cada <email@hidden>
- Date: Fri, 27 Sep 2002 01:28:57 +0200
On Thursday, September 26, 2002, at 08:01 , Tony S. Wu wrote:
And I know you can easily set a table view's menu in IB.
But question is, the menu appears when you right-click on any table cell.
While I only want certain cells (like in a certain column) to appear the
menu.
Do I need to subclass NSTableView
Yes.
and deal with mouse events?
No. See
-(NSMenu*)menuForEvent:(NSEvent*)evt
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.