using NSPopUpButtonCell
using NSPopUpButtonCell
- Subject: using NSPopUpButtonCell
- From: Andrew Bush <email@hidden>
- Date: Sat, 19 Nov 2005 17:25:30 +1300
Hi all,
is there any example code showing how to use this?
I have a simple tableview that would like to have a popup in each row.
I have added NSPopUpButtonCell to the relevant column.
Ive created an instance of NSMenu
I have set the 'menu' outlet of the NSPopUpButtonCell column to this
menu.
I have set the 'delegate' outlet of the NSMenu to a controller.
I have implemented - (void)menuNeedsUpdate:(NSMenu *)menu in this
controller
Another, separate, NSPopupButton uses this with no problems whenever it
is clicked on.
The problem I have is that the NSPopUpButtonCell never actually calls
menuNeedsUpdate on its delegate.
Is this a known bug? have I skipped a step?
If anyone knows of some sample code showing this working I would love
to see it.
Im compiling on 10.3 using XCode 1.5 , and using the cross compilation
sdk to target 10.2.8
thanks for any help :)
Yours cheerfully,
Andrew Bush
_______________________________________________
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