• 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 12:52:45 +0100

On 25 Jul 2007, at 09:47, Kai-Mikael Jää-Aro wrote:

- (BOOL)validateUserInterfaceItem:(id <NSValidatedUserInterfaceItem>)anItem {
[...]
But, in spite of all this, all items in the Edit menu are disabled when running the program. What have I forgotten to add to this?

To validate menu items use this instead: - (BOOL)validateMenuItem:(id <NSMenuItem>)menuItem

-António

----------------------------------------------------
There is a world of difference between
searching for happiness and choosing
to be happy.
----------------------------------------------------




_______________________________________________

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


  • Follow-Ups:
    • Re: Enabling menu items?
      • From: Kai-Mikael Jää-Aro <email@hidden>
References: 
 >Enabling menu items? (From: Kai-Mikael Jää-Aro <email@hidden>)

  • Prev by Date: Re: Quickest Drawing Method
  • Next by Date: Re: Enabling menu items?
  • Previous by thread: Enabling menu items?
  • Next by thread: Re: Enabling menu items?
  • Index(es):
    • Date
    • Thread