Re: Displaying NSPopUpButtonCells in NSTableView

2010-05-21 Thread Keary Suska
On May 20, 2010, at 3:28 PM, James Maxwell wrote: > hmm... Well, I've tried returning the cell's selectedItem, > indexOfSelectedItem, and also: > > [[inst MIDI_Inst_Ports] objectAtIndex:[ports indexOfSelectedItem]] > > (that is, the port name at indexOfSelectedItem). > If I NSLog the [ports in

Re: Displaying NSPopUpButtonCells in NSTableView

2010-05-20 Thread James Maxwell
hmm... Well, I've tried returning the cell's selectedItem, indexOfSelectedItem, and also: [[inst MIDI_Inst_Ports] objectAtIndex:[ports indexOfSelectedItem]] (that is, the port name at indexOfSelectedItem). If I NSLog the [ports indexOfSelectedItem] it's always zero. So I'm obviously not unders

Re: Displaying NSPopUpButtonCells in NSTableView

2010-05-20 Thread James Maxwell
ah, that makes sense. I'll make the change and see if that fixes it. thanks, Peter. J. On 2010-05-20, at 1:28 PM, Peter Ammon wrote: > > On May 20, 2010, at 1:14 PM, James Maxwell wrote: > >> I thought I'd change the topic on this, since the content really has changed. >> >> I have an table

Re: Displaying NSPopUpButtonCells in NSTableView

2010-05-20 Thread Peter Ammon
On May 20, 2010, at 1:14 PM, James Maxwell wrote: > I thought I'd change the topic on this, since the content really has changed. > > I have an table for setting up MIDI instruments with a name, port, and > channel. I've got the initial display of options for the table row displaying > correct