Document Based App - open
Document Based App - open
- Subject: Document Based App - open
- From: Jeff LaMarche <email@hidden>
- Date: Fri, 4 Feb 2005 10:21:56 -0500
I've got a document based app that has a document type that it
supports, and one that it can use as the basis for a new document. I
originally had different menu commands for each one, but found that my
testers were confused - they tried to just open both kinds of
documents.
So, thought it seems a little odd, now you can use Open for either (and
it seems to be more intuitive). If you open a native document, it just
opens it. If you select the other filetype, it creates a new document
based on information take from the "opened" file. I change the document
type and the filename of the new document, but NSDocument still thinks
it's an existing file, the "Save..." menu option is still highlighted.
Is there a way to tell a document that it should behave as if it's a
newly created document, or do I need to manually gray out the "Save..."
option in this situation?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden