home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / next / programm / 7341 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.3 KB  |  35 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!newshost!root
  3. From: mferris@trirex.com (Mike Ferris)
  4. Subject: SavePanel: is there a way to not ask about clobbering an existing file?
  5. Message-ID: <1992Nov20.223313.8542@Trirex.COM>
  6. Sender: root@Trirex.COM (Operator)
  7. Organization: Trirex Systems Inc.
  8. Date: Fri, 20 Nov 1992 22:33:13 GMT
  9. Lines: 24
  10.  
  11. Hi,
  12.  
  13. I have a question about SavePanel and/or OpenPanel.
  14.  
  15. I have an application where I need the user to supply the name of a log  
  16. file.  If the user wants a new file, they should be able to type in a new  
  17. name.  Later when the log is used, it will be created if needed.  If the  
  18. user chooses an existing file, then the app will append to it when it  
  19. needs to log something.
  20.  
  21. SavePanel allows me to do all I need, except for the annoying feature that  
  22. it asks me whether I want to overwrite the existing file if I choose a  
  23. file that already exists.  My app will NOT overwrite this file at the time  
  24. the user has to press OK (or ever really).
  25.  
  26. Does anyone know a way to prevent that panel from showing up?
  27.  
  28. Thanks
  29.  
  30. ____________________________________________________________
  31. Mike Ferris                 Once in a while
  32. mferris@trirex.com          You can get shown the light
  33. Trirex Systems, Inc.        In the strangest of places
  34. (212) 856-9000              If you look at it right.   -RH
  35.