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: Quincey Morris <email@hidden>
- Date: Thu, 17 Dec 2009 12:41:50 -0800
On Dec 17, 2009, at 12:20, Stephane Huaulme wrote:
> to handle double clicking, i bind the double click target of the table view to my app controller using a method named doubleClick.
> 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?
Don't look at the current selection, but use 'clickedRow' and 'clickedColumn' to find the source of the double-click, within the action method.
_______________________________________________
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