• 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: understanding the column of a double clicking into a table view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >understanding the column of a double clicking into a table view (From: Stephane Huaulme <email@hidden>)

  • Prev by Date: Re: Enabling menu items...
  • Next by Date: Re: Linking xib's
  • Previous by thread: understanding the column of a double clicking into a table view
  • Next by thread: Re: understanding the column of a double clicking into a table view
  • Index(es):
    • Date
    • Thread