HideWorkingDBs CloseWindow Callback
Compatibility: 5.1.6? - 6.0 - MacOS - Windows
Tweaked from a script posted to the Frontier Community mailing list.
Please read this document through so you understand what you're doing to your Frontier environment.
What It DoesFrontier, by default, will save and close a guest database when you click on the close box or invoke the Close command (File->Close or command/control-W). I and others prefer to save the GDB and hide the window, instead of closing the GDB file, as is done for Frontier.root.
This callback function changes the close-window behavior of guest databases so that they are saved and hidden, rather than closed.
If you hold down the shift key while closing the window, the close behavior will revert to the default behavior: the GDB will be closed without saving.
It's not perfect. If a GDB is frontmost when you invoke the Quit command (File->Quit or command/control-Q), it will save and hide the GDB instead of quitting Frontier.
Installation and RemovalTo install the HideWorkingDBs callback, run the Install script in this table.
To de-install the HideWorkingDBs callback, run the Remove script in this table.
Built with Frontier v.6.0 on Macintosh OS 8.1 on 1999/05/23.