On Aug 21, 2012, at 9:38 AM, Kyle Sluder <k...@ksluder.com> wrote:

> On Aug 21, 2012, at 9:07 AM, Jean Suisse <jean.li...@gmail.com> 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.

That's because what you describe is the "HI Guideline". However, you can 
control it (see my reply)

corbin

> 
> --Kyle Sluder

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to