On 2008 Jun, 09, at 12:57, Quincey Morris wrote:



Doing this through bindings involves re-inventing a bit of stuff that NSResponder normally takes care of, but it need not be too difficult. For example, you could....

Or something like that.

On Jun 9, 2008, at 3:04 PM, Jerry Krinock wrote:


Well, last year sometime I wanted to bind some menu items to values in the current document, as I believe you're trying to do. You can read of my saga in the list archives.

After you've considered Quincy's response, recall that bindings is an alternative which is supposed to make things simpler and reduce labor. I concluded that the bindings alternative does not fulfill its purpose when it involves menu items. Target/Action still works.

Thanks, Jerry & Quincey. You've saved me from banging my head against the wall for half a day. I used Target/Action and -menuNeedsUpdate: and my menus are working perfectly with minimal effort.

-Steve
_______________________________________________

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