Re: NSTableColumn unbindable when NSSegmentedCell is used?

2008-10-30 Thread Mike Laurence
Ahhh... it all begins to make sense. I suppose it would be difficult to have a binding that could automatically determine what quantity of buttons and labels you desired in your content item. But the whole purpose of my app is to have dynamic button labels and colors, so... Fortunately, your sugge

Re: NSTableColumn unbindable when NSSegmentedCell is used?

2008-10-30 Thread Quincey Morris
On Oct 30, 2008, at 20:38, Mike Laurence wrote: Thanks for the suggestion, but I need to be able to set the contents of the cell (e.g., the labels of the different buttons) before the selected index/tag/label is of any use. With a data source, the cell received a 'setObjectValue' call with

Re: NSTableColumn unbindable when NSSegmentedCell is used?

2008-10-30 Thread Mike Laurence
Thanks for the suggestion, but I need to be able to set the contents of the cell (e.g., the labels of the different buttons) before the selected index/tag/label is of any use. With a data source, the cell received a 'setObjectValue' call with an array of items, each corresponding to a different bu

Re: NSTableColumn unbindable when NSSegmentedCell is used?

2008-10-29 Thread Dave Fernandes
If you google "NSSegmentedCell bindings", the first search result is http://developer.apple.com/documentation/Cocoa/Reference/ CocoaBindingsRef/BindingsText/NSSegmentedCell.html I'm guessing you want selectedIndex or selectedLabel or selectedTag. On Oct 29, 2008, at 2:23 AM, Mike Laurence wro

NSTableColumn unbindable when NSSegmentedCell is used?

2008-10-28 Thread Mike Laurence
Hello, I'm migrating a non-binding version of an NSTableView over to a binded version. In the non-binding version (using a data source), one of my table columns used a subclass of NSSegmentedCell, and I merely overrode setObjectValue in order to capture the data and set the number of segments, the