• 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: Contextual menu on an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Contextual menu on an NSTableView


  • Subject: Re: Contextual menu on an NSTableView
  • From: Robert Cerny <email@hidden>
  • Date: Fri, 23 May 2008 20:20:03 +0200


On 23.5.2008, at 19:06, Allan Greenier wrote:

I've got some working code that puts up a Contextual menu on my own NSView subclass.
Works like a charm. When I try to call setMenu on a NSTableView using the same menu, I crash.
How do I put up a contextual menu on an NSTableView?
Thanks,
Allan
_______________________________________________


The most easy way is using IB. Drag new NSMenu from Library to you xib, and make connection from NSTableView to your newly created NSMenu instance

HTH
Robert
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Contextual menu on an NSTableView (From: Allan Greenier <email@hidden>)

  • Prev by Date: Re: NSTextView without word wrap?
  • Next by Date: File's Owner
  • Previous by thread: Contextual menu on an NSTableView
  • Next by thread: Re: Contextual menu on an NSTableView
  • Index(es):
    • Date
    • Thread