• 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: "Tony S. Wu" <email@hidden>
  • Date: Thu, 26 Sep 2002 22:41:44 -0700

Now that I know I "have" to subclass NSTableView, I'll go after it.
Thanks a lot.

Tony S. Wu
email@hidden

"Nope, this world ain't perfect. But at least I know it's not because of
me."



Ondra Cada at email@hidden wrote:

>
> 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:
    • [Q]mouseDown: in TV (was Re: Menu when click on table cell)
      • From: "Tony S. Wu" <email@hidden>
References: 
 >Re: Menu when click on table cell (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: NSUndoManager & NSTableView editing
  • Next by Date: DO timing out on proxy call
  • Previous by thread: Re: Menu when click on table cell
  • Next by thread: [Q]mouseDown: in TV (was Re: Menu when click on table cell)
  • Index(es):
    • Date
    • Thread