Microsoft KB Archive/135625

= BUG: Grid Valid Event Fires Before Grid Control Valid Fires =

Article ID: 135625

Article Last Modified on 5/7/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q135625



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.



Steps to Reproduce Problem
 Create a new form. Add a grid, and set its ColumnCount property to 1. Add a command button to the form, outside the grid.  In the Valid event procedure of the grid, place this code: WAIT WINDOW "Valid of the Grid"   In the Valid event of Text1, the current control for the grid column, add this code: WAIT WINDOW "Valid of Grid Control"  From the Command window, open any table and then run the form. Position the cursor in the text box of the grid. Click the command button and note that the Valid event of the grid fires before the Valid event of Text1 fires.</li></ol>

Additional query words: kbvfp300 kbvfp500 kbvfp600

Keywords: kbbug KB135625

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.