NSPopUpButton in a NSView in a NSCell of a NSTableView
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