• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Menu when click on table cell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Menu when click on table cell
      • From: "Tony S. Wu" <email@hidden>
References: 
 >Re: Menu when click on table cell (From: "Tony S. Wu" <email@hidden>)

  • Prev by Date: Re: Problem with 'scanf'
  • Next by Date: Re: NSString and control character
  • Previous by thread: Re: Menu when click on table cell
  • Next by thread: Re: Menu when click on table cell
  • Index(es):
    • Date
    • Thread