Re: NSTableView not setting -clickedRow, -clickedColumn as it should
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