FileMenuHandler

FileMenuHandler is a component for handling Recent files list and Open, Save, Save As, Exit Commands
Download

FileMenuHandler Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Xarka Software
  • Operating Systems:
  • Windows All
  • File Size:
  • 206 KB

FileMenuHandler Tags


FileMenuHandler Description

FileMenuHandler is a component for handling Recent files list and Open, Save, Save As, Exit Commands. Has a recent list (MRU) if wanted with ini saving. Will call your file handlers only when needed so you don't have to worry about changed files, loading Open/Save dialog boxes, history lists, terminating, querying user to save changes, changing the form caption, runtime parameters etc. Extremely customizable for every environment. Appends the history list to your selected MenuItem. Minimize error checking, just load, save, and make new. If you have ever implemented a user interface with the above commands, you must have experienced the fact that it looks simple but it is pretty complicated. For example: User creates new file, makes some changes, selects Exit forgetting to Save, (Here the program should call Save, which should call Save As) and then presses Cancel in the SaveDialog box so he will cancel his/her exit from your program... Believe me, for the program to correctly handle cases like this it takes about 100 lines of code if you don't use a history list in the menu. Or what if you want to associate your program with an extension, and you have to load parameters? With this component, you only have to write 3 input/output routines. One to create a new object (a new memo, picture, empty database, etc). One to save it to disk, and one to read it. Everything else is handled by FileMenuHandler. These events are called only when needed.


FileMenuHandler Related Software