How to Create a Foundation READ Time-OutID: Q107837 2.50 2.50a 2.50b | 2.00 2.50 2.50a 2.50b | 2.50b kbprg
The information in this article applies to:
SUMMARYA foundation READ is commonly used to provide a place for a menu to wait in an application (.APP) or executable file (.EXE) created by FoxPro. However, if the TIMEOUT clause is added to the foundation READ, the foundation READ will not work. The foundation READ and the TIMEOUT clause will work correctly together if the VALID clause of the foundation READ calls a procedure instead of evaluating a variable, as shown below.
MORE INFORMATIONTo create a menu with a foundation READ that works with the TIMEOUT clause, do the following: 1. From the File menu, choose New, and select Menu. Choose OK. 2. Add one or more pads to the menu. One pad should have QUIT as the menu 3. From the Menu menu, choose General Options. Select the Cleanup check
4. From the Program menu, choose Generate. When you are asked if you want
5. In the Command window, enter the following command to display your
6. Wait 10 seconds. The FoxPro default system menu should appear.
Additional reference words: FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b time read KBCategory: kbprg KBSubcategory: FxtoolGeneral
|
|
Last Reviewed: April 30, 1996 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |