PRB: Clicking Disabled Push Button Terminates READLast reviewed: November 17, 1995Article ID: Q102204 |
The information in this article applies to:
SYMPTOMSIf a VALID clause on a GET field disables the following push button and the mouse is used to move to that push button, the READ is terminated. However, if the keyboard is used to move to the push button, the READ is not terminated.
CAUSEThe mouse click invokes the VALID clause of the previous object, which attempts to disable the object that has already been clicked. FoxPro handles this condition by terminating the READ.
RESOLUTIONNOTE: This behavior does not occur in Visual FoxPro. For the READ not to be terminated, add the following command to the VALID clause of the GET field:
RETURN 1After the cursor moves to the field following the disabled field, you will see that the cursor is positioned just to the right of the next field. To correct this problem, add the following line of code to the next field's WHEN clause:
KEYBOARD '{HOME}' STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional reference words: FoxMac FoxDos FoxWin 2.50 2.50a 2.50b 2.50c
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |