Re: Focus issues with NSTableView in NSPanel
Re: Focus issues with NSTableView in NSPanel
- Subject: Re: Focus issues with NSTableView in NSPanel
- From: Kyle Sluder <email@hidden>
- Date: Tue, 21 Aug 2012 09:38:29 -0700
On Aug 21, 2012, at 9:07 AM, Jean Suisse <email@hidden> wrote:
> Well, then you just need to override:
>
> - (BOOL)needsPanelToBecomeKey
>
> in the NSTableView (subclass) and return NO.
I'll try it, but frankly this doesn't make sense. I *do* want the panel to become key when the user clicks the table view. When I return YES from this method, the table view becomes first responder and the panel containing it becomes key, just like I expect, but the selection in the table view does not change to match the item that 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