• 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
save menu/icon mysteriously disabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: setuid helper tool
  • Next by Date: Re: setuid helper tool
  • Previous by thread: Re: setuid helper tool
  • Next by thread: Re: save menu/icon mysteriously disabled
  • Index(es):
    • Date
    • Thread