NSTableView Cell Selection for Contextual Menu
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