• 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
NSTableView, Multiple Selections, and PopUpButtons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView, Multiple Selections, and PopUpButtons


  • Subject: NSTableView, Multiple Selections, and PopUpButtons
  • From: Joe Howard <email@hidden>
  • Date: Wed, 30 Jan 2002 01:33:04 -0800

So in my app I've got an NSTableView with one of the columns displaying NSPopUpButtonCells. I have multiple selection allowed and I want the user to be able to select multiple rows in the table, change one of the popup buttons, and all of the selected row's popup buttons (and the underlying values) change to the selected value. The problem that I am having is that when you click one of the popup buttons, all of the selected rows deselect, and the row with the clicked button is selected.

I'm not sure of the approach in which I would solve this problem. Would this involve overriding NSCell's trackMouse:inRect:ofView:untilMouseUp: or using NSTableView's delegate methods? I'm really not seeing a good approach to solve this and would really appreciate some pointers.

Joe Howard


  • Prev by Date: Re: OpenGL
  • Next by Date: Re: OpenGL
  • Previous by thread: Capturing events...
  • Next by thread: Re: NSTableView, Multiple Selections, and PopUpButtons
  • Index(es):
    • Date
    • Thread