• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Enabling menu items?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enabling menu items?


  • Subject: Re: Enabling menu items?
  • From: António Nunes <email@hidden>
  • Date: Wed, 25 Jul 2007 18:43:27 +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


References: 
 >Enabling menu items? (From: Kai-Mikael Jää-Aro <email@hidden>)
 >Re: Enabling menu items? (From: António Nunes <email@hidden>)
 >Re: Enabling menu items? (From: Kai-Mikael Jää-Aro <email@hidden>)

  • Prev by Date: Re: Enabling menu items?
  • Next by Date: Re: Guidelines for NIB usage
  • Previous by thread: Re: Enabling menu items?
  • Next by thread: Re: Enabling menu items?
  • Index(es):
    • Date
    • Thread