• 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 selections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBrowser selections


  • Subject: Re: NSBrowser selections
  • From: Tom Waters <email@hidden>
  • Date: Fri, 8 Jun 2001 13:47:31 -0700

Ignore this email... I was chasing my tail. My custom NSMatrix class was eating the click if the cell was selected.

Sorry for the noise.

On Friday, June 8, 2001, at 01:41 PM, Tom Waters wrote:

Sigh... This class is winning.

I was told, in response to my complaint last week (NSBrowser woes), that I should use

-(IBAction)browserClick:(id)sender

in my delegate, then query the NSBrowser for the selection.

The latest problem with this hack is that when you click on a selected item in NSBrowser, it doesn't call browserClick:

Thus, if you have all the items in a column selected, you can't get clicks on any of the items.

Therefore, making this method useless as a mechanism for working around the lack of selection delegation in NSBrowser.

It seems that if multiple selections are enabled, browser ought to clear the selection down to the single selected item clicked, just like tableview...

Anyone have a thought about how to make this work?


References: 
 >NSBrowser selections (From: Tom Waters <email@hidden>)

  • Prev by Date: Handling Dragged Urls
  • Next by Date: Re: "Tricks" of the "Trade"
  • Previous by thread: Re: NSBrowser selections
  • Next by thread: NSMatrix selections
  • Index(es):
    • Date
    • Thread