BUG: Grid Valid Event Fires Before Grid Control Valid Fires

Last reviewed: May 5, 1997
Article ID: Q135625
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b, 5.0, 5.0a

SYMPTOMS

When you run a form that contains a grid object, clicking outside the grid fires the Valid event of the grid before it fires the valid event of the current control in the grid.

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a new form.

  2. Add a grid, and set its ColumnCount property to 1.

  3. Add a command button to the form, outside the grid.

  4. In the Valid event procedure of the grid, place this code:

    WAIT WINDOW "Valid of the Grid"

  5. In the Valid event of Text1, the current control for the grid column, add this code:

    WAIT WINDOW "Valid of Grid Control"

  6. Run the form. With the insertion point positioned in the text box of the grid click the command button. The Valid event of the grid will fire before the Valid event of Text1 fires.


Keywords : buglist3.00 buglist3.00b buglist5.00 kbtool vfpbug5.0a kbbuglist
Version : 3.0 3.0b 5.0 5.0a
Platform : WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 5, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.