Re: Enabling menu items?
Re: Enabling menu items?
- Subject: Re: Enabling menu items?
- From: António Nunes <email@hidden>
- Date: Wed, 25 Jul 2007 18:42:05 +0100
On 25 Jul 2007, at 13:01, Kai-Mikael Jää-Aro wrote:
Makes no difference.
Also, the Application Menu and Pop-up List Programming Topics for
Cocoa manual says: "In general, you should use
validateUserInterfaceItem: instead of validateMenuItem: since the
former will also work for toolbar items which have the same target
and action." so shouldn't I use the former?
Yep, you're fine using the former. My mistake. Apologies. I think,
after having a closer look your problem lies with the view not
becoming first responder. I don't know why the binding doesn't work,
but if you make your view first responder in code when the nib has
finished loading, that should get things going.
-António
----------------------------------------------------
It is better to light a candle than to curse the darkness
----------------------------------------------------
-----------------------------------------
Accepting others as they are
brings a wonderful freedom
to your own mind.
--The Peace Formula
-----------------------------------------
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden