• 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: NSDocument Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument Problems


  • Subject: Re: NSDocument Problems
  • From: Volker in Lists <email@hidden>
  • Date: Mon, 21 Feb 2011 17:23:46 +0100

Hi,

these all rely on the ResponderChain - so, if one of your ANalyzerDocuments is front-most, it must implement these methods to enable the menu commands. If your analyzer document is always coupled with a "normal" document, you may relay the calls to that.

volker

Am 21.02.2011 um 15:28 schrieb Bruce Cresanta:

> Hello,
>
> 	I have two NSDocuments in my project:  MyDocument patterned after the template, and AnalyzerDocument.  Analyzer document is ordered second in the target list of documents, so it is not the default document.    All the menu items for save, save as, print, and page setup are grayed when i have an AnalyzerDocument key and ordered front.    How do I ungray the items??

_______________________________________________

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: NSDocument Problems
      • From: Bruce Cresanta <email@hidden>
References: 
 >NSDocument Problems (From: Bruce Cresanta <email@hidden>)

  • Prev by Date: Re: Getting NSScrollView to ignore scrolling
  • Next by Date: Problem with multiple screensaver threads
  • Previous by thread: NSDocument Problems
  • Next by thread: Re: NSDocument Problems
  • Index(es):
    • Date
    • Thread