On 22/02/2011, at 1:28 AM, Bruce Cresanta wrote: > 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??
Pedant's corner: it's not the document that is ordered front, but one of its windows. Therefore the window and document must be able to talk to one another to manage the menu items. This means you need to connect the document's 'window' outlet in IB to the window instance. It's a common thing to forget this, and will create the symptoms you're seeing. So check that. --GRaham _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com