Re: NSPopUpButtons in an NSTableView
Re: NSPopUpButtons in an NSTableView
- Subject: Re: NSPopUpButtons in an NSTableView
- From: email@hidden
- Date: Fri, 10 May 2002 09:42:46 -0700
Brian Webster wrote:
|I've done a table view using
|NSPopUpButtonCell, but instead of using target/action on the
|cells, I instead used the table view data source method
|tableView:setObjectValue:forTableColumn:row:. When an item is
|selected from the menu, this will be invoked and the object that
|will get passed in is an NSNumber containing the index of the
|menu item that was selected. And no, this is not documented
|anywhere; I had to figure this out by trial and error.
File a bug report on this. (I just got asked by Apple staff to do this on a different hole in the documentation, so they really do want to be told.)
Glen Fisher
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.