• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSPopUpButtons in an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: NSPopUpButtons in an NSTableView (From: Brian Webster <email@hidden>)

  • Prev by Date: REPOST: Dynamic Library & UNloading Resource Bundles...
  • Next by Date: Re: aqua graphite/blue notification
  • Previous by thread: Re: NSPopUpButtons in an NSTableView
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread