• 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
NSPopUpButton in a NSView in a NSCell of a NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPopUpButton in a NSView in a NSCell of a NSTableView


  • Subject: NSPopUpButton in a NSView in a NSCell of a NSTableView
  • From: Roberto Milani <email@hidden>
  • Date: Thu, 21 Sep 2006 18:11:51 -0700

Long subject.

I have an Table where I need to have custom cells in a column.
The cells can be different for each row depending on a NSPopUpButtonCell in the first column.
I Have a view created in IB with 2 NSPopUpButtons, one populated in IB one by code.
The table works fine, I get the right cell to display as I want but..
The two PopUps in the view don't keep the selection.
I can click on them, view all the menuItems, select the one I need but as soon as I release the mouse button the selection goes back to the first of the list.
For sake of test I programmatically add a third NSPopupButton to the cell and this one works just fine.


Does anyone knows where is the trick?

thanks
Roberto



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSPopUpButton in a NSView in a NSCell of a NSTableView Solved
      • From: Roberto Milani <email@hidden>
  • Prev by Date: Re: Connect to two network interfaces simultaneously?
  • Next by Date: Re: Calling applescript from cocoa application and getting information back
  • Previous by thread: NSPredicate documentation out of sync or is it my system?
  • Next by thread: Re: NSPopUpButton in a NSView in a NSCell of a NSTableView Solved
  • Index(es):
    • Date
    • Thread