How to Use a READ TIMEOUT with an @SAYID: Q128538 The information in this article applies to:
SUMMARYThis article shows by example how to use a READ TIMEOUT with an @SAY. A READ in FoxPro is defined as a command that activates objects created with @ ... GET and @ ... EDIT commands. This definition comes from the FoxPro version 2.5b for Windows help file. However, you can also activate an @ ... SAY in conjunction with the TIMEOUT Clause.
MORE INFORMATIONCreate a small program, and place the following code in it:
After you run this program, the Command window will disappear, and the
words within the quotes will be displayed at the position specified in the
font specified for three seconds. Then the Command window will come back.
NOTE: A keystroke or mouse click that occurs before the three seconds is up will also break out of the READ TIMEOUT. You could take advantage of this feature to determine if the user is paying attention as in the following variation of the sample program:
Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 2.60a Introduction
Introductory
KBCategory: kbprg kbcode
KBSubcategory: FxprgRead
|
|
Last Reviewed: June 27, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |