• 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: Matt Neuburg <email@hidden>
  • Date: Sat, 18 May 2002 10:55:47 -0700

On Thu, 16 May 2002 15:03:30 -0400, Mark T <email@hidden> said:

>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.

What if you call the method something else, such as mySelectAll:, and have
the Select All menu item target that, instead of selectAll:? m.
--

matt neuburg, phd = email@hidden, http://www.tidbits.com/matt
pantes gar anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.

  • Prev by Date: Re: Cocoa Logo
  • Next by Date: Documentation download?
  • Previous by thread: Re: NSBrowser firstResponder issue
  • Next by thread: Scriptable Cocoa Java question
  • Index(es):
    • Date
    • Thread