Re: NSBrowser
Re: NSBrowser
- Subject: Re: NSBrowser
- From: James DiPalma <email@hidden>
- Date: Mon, 15 Oct 2001 09:38:49 -0700
On Thursday, October 11, 2001, at 07:43 AM, Drew McCormack wrote:
But I also want to be able to update some other things whenever a
browser sell is clicked, depending on which cell was clicked. I thought
I could do this by setting the target of the browser, but the action
seems to get called before the cell is selected, so I can't figure out
how to determine which cell was clicked.
[browser selectedCell] in a browser's action method seems to return the
cell clicked on. What are you doing differently?
[NSBundle loadNibNamed: @"Browser" owner:self];
[browser setTarget:self];
[browser setAction:@selector(makeSelection:)];
-jim
References: | |
| >NSBrowser (From: Drew McCormack <email@hidden>) |