On Aug 21, 2012, at 9:38 AM, Kyle Sluder <[email protected]> wrote: > On Aug 21, 2012, at 9:07 AM, Jean Suisse <[email protected]> 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.
Yeah, but you also don't want the standard NSTableView HI behavior, so you have to do something custom. corbin > 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 protected]) 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 [email protected]
