The information in this article applies to:
SUMMARYThis article shows how to terminate or quit a running Visual FoxPro for Macintosh executable from another application using AppleScript. MORE INFORMATION
Normally you would use AppleScript to call the Quit command from the File
menu to close the application. When you run a distributed Visual FoxPro
application, the Quit option on the File menu is not available. However,
most distributed Visual FoxPro applications do contain a READ EVENTS in the
code to start event processing and prevent Visual FoxPro from exiting
prematurely. The AppleScript example is based on using a CLEAR EVENTS to
cause the executable to exit.
Steps to Reproduce Behavior
REFERENCESFor additional information on using a READ EVENTS in a menu or form, please see the following articles in the Microsoft Knowledge Base: Q87694 PRB: Menu Appears, Then Application Exits to Operating System Q132697 PRB: Application Appears Then Exits to Operating System © Microsoft Corporation 1998, All Rights Reserved. Additional query words:
Keywords : kbAutomation kbMAC kbVFp300 |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |