• 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: NSTableView not setting -clickedRow, -clickedColumn as it should
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView not setting -clickedRow, -clickedColumn as it should


  • Subject: Re: NSTableView not setting -clickedRow, -clickedColumn as it should
  • From: Kyle Sluder <email@hidden>
  • Date: Wed, 08 Aug 2012 16:37:32 -0700

On Wed, Aug 8, 2012, at 02:48 PM, Corbin Dunn wrote:
> Cool; note that with View Based TableViews these types of things are
> easier to do, since one can just do normal "view stuff", and easily query
> for what row they are in (via rowForView:)

It does make it easier for subviews that want to perform their own
NSEvent handling to do so, but now I'm having the darndest time figuring
out how that interacts with the highlight NSTableView draws around
right-clicked rows. It's supposed to be tied to whether you call
NSTableView's implementation of -menuForEvent: (which is crazy and I'm
going to file a Radar on), but I can't get it to show up in a very
simple demo app with just a plain old NSTableView and a data source.

--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: 
 >NSTableView not setting -clickedRow, -clickedColumn as it should (From: Graham Cox <email@hidden>)
 >Re: NSTableView not setting -clickedRow, -clickedColumn as it should (From: Corbin Dunn <email@hidden>)
 >Re: NSTableView not setting -clickedRow, -clickedColumn as it should (From: Kyle Sluder <email@hidden>)
 >Re: NSTableView not setting -clickedRow, -clickedColumn as it should (From: Corbin Dunn <email@hidden>)
 >Re: NSTableView not setting -clickedRow, -clickedColumn as it should (From: Kyle Sluder <email@hidden>)
 >Re: NSTableView not setting -clickedRow, -clickedColumn as it should (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: +underPageBackgroundColor
  • Next by Date: Re: NSCopyObject is a disaster (was Re: Another NSOutlineView issue)
  • Previous by thread: Re: NSTableView not setting -clickedRow, -clickedColumn as it should
  • Next by thread: Re: NSTableView not setting -clickedRow, -clickedColumn as it should
  • Index(es):
    • Date
    • Thread