PRB: Program w/ @..SAY..GETs Exits If Press PAGE UP/PAGE DOWNID: Q137279 The information in this article applies to:
SYMPTOMSSome developers porting code form other FoxPro versions, including MS-DOS and Windows, are still using hard coded screen displays (@..SAY..GETs in a .prg file). In Visual FoxPro, you will find that the behavior is somewhat different from version 2.x products and other XBase languages. Pressing the PAGE UP or PAGE DOWN key while the program is running causes the program to stop, and no validation takes place if the GET command has a Valid clause.
RESOLUTIONIn the beginning of the program place this code:
This will allow the program to continue normally as if the ENTER key was
pressed.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior1. Create a program containing this code:
2. Run the program.
3. Put a value in mvar and press ENTER. The message 'In the Procedure of 4. Enter a value in mvar2 and press ENTER. The program cycles back to mvar.
5. Press the PAGE DOWN Key. The program exits, and no validation takes Additional reference words: 3.00 VFoxWin
KBCategory: kbprg kbprb
KBSubcategory: FxprgGeneral
|
Last Reviewed: September 29, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |