The information in this article applies to:
SYMPTOMSThe Help for Visual FoxPro states the following about the Valid event of a control: If 0 is returned, the control does not lose focus.This is true if you try to move between controls on a single form. But if a control returns 0 in the Valid event, you will be able to move the focus to a different form. RESOLUTIONTo prevent the control from losing focus, you should return .F. (False) from the Valid event of the control:
To disable the "Invalid Input" message that a False (.F.) return value
causes, issue the following command:
This should be done at the start of an application or in the Init event of
a form.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words:
Keywords : kbVFp300 kbVFp300b kbVFp500 kbVFp600 FxtoolFormdes |
Last Reviewed: February 3, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |