home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / programm / 14637 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.7 KB  |  44 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!sun-barr!ames!ads.com!killer!pokey.verity.com!anders
  3. From: Anders Wallgren <anders@verity.com>
  4. Subject: Re: Human Interface questions, specific functionality
  5. Organization: Verity, Inc., Mountain View, CA, USA
  6. Date: Thu, 27 Aug 92 23:09:32 GMT
  7. Message-ID: <1992Aug27.230932.11741@verity.com>
  8. X-Xxmessage-Id: <A6C2AF44F101C897@pokey.verity.com>
  9. X-Useragent: Nuntius v1.1.1d9
  10. References: <1992Aug27.175328.1@tesla.njit.edu>
  11. Sender: usenet@verity.com (USENET News)
  12. X-Xxdate: Thu, 27 Aug 92 00:11:48 GMT
  13. Lines: 29
  14.  
  15. In article <1992Aug27.175328.1@tesla.njit.edu> Elliotte Rusty
  16. Harold, erh0362@tesla.njit.edu writes:
  17. >    2.  A user opens a file on a locked disk and makes changes to it.
  18.  
  19. >    (Alternately the user locks the disk while the file is open.) 
  20. When
  21. >    the user attempts to save should I 
  22. >    
  23. >      a)  Simply post an error message saying the disk is locked? 
  24. >      b)  Check that the disk is locked before every save (If so
  25. how?) 
  26. >      and if it is do a Save As instead?
  27. >      c)  Check that the disk is locked before every save  
  28. >      and eject the disk and post a dialog asking the user to unlock
  29. >      and reinsert it?
  30.  
  31. If the user opens a file that is locked or that is on a locked
  32. volume, you should probably warn them that any changes they make
  33. can't be saved to that file.  You might still enable Save and treat
  34. that command like Save As (or treat it like they're saving a new
  35. document).
  36.  
  37. If the disk becomes locked after the user has already opened the
  38. file for writing, you should probably give them whatever error
  39. message makes most sense, and perhaps prompt them to do a Save As
  40. (verbally, not by putting the dialog up).
  41.  
  42. You probably shouldn't do choice c), since the user should control
  43. when the disk is ejected.
  44.