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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to