• 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: NSBrowser firstResponder issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBrowser firstResponder issue


  • Subject: Re: NSBrowser firstResponder issue
  • From: Mark T <email@hidden>
  • Date: Thu, 16 May 2002 16:42:48 -0400

Tried it. Unfortunately, it's not called in this case. The matrix receives
the selectAll: message directly, and as far as I know, the NSBrowser
receives no messages.

Mark T.

>
> What about tapping into this delegate method:
>
> - (BOOL)browser:(NSBrowser *)sender selectRow:(int)row
> inColumn:(int)column
>
> It will allow you to intercept any selection requests and either allow
> or reject them - or re-route them to the proper column.
>
> j o a r
>
>
> On Thursday, May 16, 2002, at 12:03 , Mark T wrote:
>
>> I have an application which uses an NSBrowser for the display of most
>> of its
>> data. I want the select all menu option to work in my browser, which it
>> does, except that due to the nature of my data, it only makes sense to
>> select all cells in the rightmost column. I've created an NSBrowser
>> category
>> which includes my implementation of selectAll:, but it's never called.
>> It
>> turns out that the browser itself is never the firstresponder. Instead,
>> the
>> matrices inside it are. As a result, my method is never called. I was
>> wondering if there was any workaround for this, as I cannot figure out
>> a way
>> for my method to be called by the menu item/key combo.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSBrowser firstResponder issue (From: j o a r <email@hidden>)

  • Prev by Date: Re: NSApplication:showHelp: "set the application's help file using Project Builder" -- HOW?
  • Next by Date: Re: Finding myDocument from AppController
  • Previous by thread: Re: NSBrowser firstResponder issue
  • Next by thread: Re: NSBrowser firstResponder issue
  • Index(es):
    • Date
    • Thread