• 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: "save as" in a document based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "save as" in a document based app


  • Subject: Re: "save as" in a document based app
  • From: Sherm Pendley <email@hidden>
  • Date: Mon, 26 Mar 2007 18:20:51 -0400

On Mar 26, 2007, at 5:58 PM, Jaime Magiera wrote:

Well, OK, here's a conundrum... I hooked up the action as you said.. but when the app is launched, the menu item is greyed out. Even if I try saving, opening docs etc. That's why I'm asking about the process. Something seems to be disabled somewhere... or not right.

By default, a menu item that's connected to First Responder is enabled if something in the responder chain implements its action method. Since NSDocument implements it, and document instances are certainly in the responder chain, the problem must lie elsewhere.


The previous developer didn't by any chance create a - validateMenuItem: method, did he? That can be used to override the default behavior above.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: "save as" in a document based app
      • From: Jaime Magiera <email@hidden>
    • Re: "save as" in a document based app
      • From: Jerry Krinock <email@hidden>
References: 
 >"save as" in a document based app (From: Jaime Magiera <email@hidden>)
 >Re: "save as" in a document based app (From: Jerry Krinock <email@hidden>)
 >Re: "save as" in a document based app (From: Sherm Pendley <email@hidden>)
 >Re: "save as" in a document based app (From: Jaime Magiera <email@hidden>)

  • Prev by Date: Re: Connecting a custom control to manipulate NSArrayController's selection.
  • Next by Date: MouseMoved Events, Window Activation, Borderless Windows, and Panels :(
  • Previous by thread: Re: "save as" in a document based app
  • Next by thread: Re: "save as" in a document based app
  • Index(es):
    • Date
    • Thread