• 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: 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

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

  • Prev by Date: Re: Linking xib's
  • Next by Date: Re: Overriding NSArrayController to be used in a many-to-many RS and NSTable Bindings
  • Previous by thread: Re: understanding the column of a double clicking into a table view
  • Next by thread: CoreVideo101 Error when porting to new Cocoa project
  • Index(es):
    • Date
    • Thread