save menu/icon mysteriously disabled
save menu/icon mysteriously disabled
- Subject: save menu/icon mysteriously disabled
- From: Matthew Weinstein <email@hidden>
- Date: Sun, 20 Mar 2005 10:03:34 -0500
Dear cocoa-sloggers,
Tearing hair out over a problem.
I want to save documents programmatically. To do so I use the pair:
[mydoc writeToFile: projName ofType: fileType];
[mydoc setFileName: projName];
This does create a file at projName, but it leaves the save menu item
disabled. If I dirty my NSTextView and the dirty flag (close button) is
lit, it still doesn't let me save. If I click the close button it gives
me a save dialogue (even though I've set the name).
Is there hope?
No, I can't use templates because so many things are set at the time
the program is run...
Matthew Weinstein
Associate Professor of Science Education
Kent State University
404 J White Hall
Kent, OH 44242
email@hidden
330 672-0653
_______________________________________________
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