• 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
NSTableView Cell Selection for Contextual Menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView Cell Selection for Contextual Menu


  • Subject: NSTableView Cell Selection for Contextual Menu
  • From: Bruce Truax <email@hidden>
  • Date: Thu, 21 Oct 2004 21:23:50 -0400

I would like to implement a contextual menu which will perform an action
which is specific to the cell where the mouse was positioned when the
contextual menu was selected. How can I get the column and row identifier
from the mouse position at the time the menu item was selected. I guess I
want the enumerators for the row and column rather than their indices
because I will not know if they have been reordered or sorted.

I see that there are -selectedRowEnumerator and -selectedColumnEnumerator
methods but the cell under the mouse may not be selected at the time the
contextual menu is invoked.

Bruce

--
____________________________________________________________
Bruce E. Truax email: email@hidden
Optical Engineering Consultant

Diffraction Limited Design LLC
388 Wedgewood Road voice: 860-276-0450
Southington, CT 06489 fax: 860-620-9026
http://www.dld-llc.com
_____________________________________________________________




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Tall NSTableView Column Headers
  • Next by Date: Re: How do you create a NSTabViewItem containing NSImageView programmatically? I almost got it...
  • Previous by thread: Re: NSDocument updateChangeCount doesn't
  • Next by thread: confused about framework headers
  • Index(es):
    • Date
    • Thread