Re: NSBrowser selections
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?