How do I quit an application from a modeless window using script? (ViP Specific)
At 23 OCT 1997 12:05:18PM Ken Wachs wrote:
Dear ViP folks:
I am trying to get a script in the PUBLIC module to quit ViP once it has competed. I am calling the script from a button in a modeless window.
The problem I am having is that the script seems to stop completely once the modeless window has closed. The startup window (win_MainMenu) is left on the screen, and the application remains open.
How can I accomplish this? Any help would be appreciated.
Ken Wachs
At 23 OCT 1997 03:14PM John Averell Revelation wrote:
Have you tried executing this
AppHalt(0) or AppHalt(-1) ?
I'm not sure which will work best in your application, but this shuts the app down completely.
At 27 OCT 1997 03:22PM Ken Wachs wrote:
John:
Thanks very much for the response. I didn't know about the AppHalt function. I will try it out in my application.
Regards,
Ken Wachs