On Sep 15, 2008, at 19:16:04, Rick Mann wrote:

According to the docs:

http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/Articles/ManagingPopUpItems.html

You typically bind the contentObjects value of the button to the arrangedObjects of an array controller, and the contentValuesvalue of the button to the same path but adding as the final path component the key of the attribute you want to use as the button title.

I'm supposed to bind the contentObjects of the popup button, but it always seems to be disabled. The other bindable values are enabled, but not that one.

This is one example of similar frustrations I've found with IB3. What's up with that, and how do I get it enabled so I can set it?

Of course, no sooner do I sent the email than I figure it out. I need to bind the content value first. I find it very counter-intuitive that I have to bind content in addition to contentObjects and contentValues.

--
Rick

_______________________________________________

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