Re: Contextual menu on an NSTableView
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