Re: understanding the column of a double clicking into a table view
Re: understanding the column of a double clicking into a table view
- Subject: Re: understanding the column of a double clicking into a table view
- From: Kyle Sluder <email@hidden>
- Date: Thu, 17 Dec 2009 12:49:28 -0800
On Thu, Dec 17, 2009 at 12:20 PM, Stephane Huaulme
<email@hidden> wrote:
> inside doubleClick, i look at what row is currently selected, and i know which one the user clicked in.
>
> how can i understand which column did the user double click in?
NSTableView has methods for this purpose: -clickedRow and
-clickedColumn. Do not rely on the selection as your indicator of what
row/column was clicked.
--Kyle Sluder
_______________________________________________
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