On Nov 2, 2008, at 9:09 PM, Chris Idou wrote:


Has anyone been able to add menu items to the first popup while it is running? Or are you pretty much stuck with whatever the initial values were? I've tried various things and haven't been able to do it.



If you want to change the items available in a popup, you should create a new NSPredicateEdtorRowTemplate whose popups contain the items you want, and then add it to the NSPredicateEditor with setRowTemplates:.

-Peter

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to