BUG: MODIFY GENERAL Fires the FORM DEACTIVATE Clause

ID: Q130576

The information in this article applies to:

SYMPTOMS

When the MODIFY GENERAL command is used in Microsoft Visual FoxPro, the FORM DEACTIVATE event is fired (executed).

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 based on a table with a General field.

2. Add a command button and a text box to the form. Set the Control Source

   of the text box to the General field of the table.

3. Add the following code to the Click event of the command button:

      WAIT WINDOW "About to modify the general field"
      MODIFY GENERAL <general fieldname>
      WAIT WINDOW "After modify general"

4. Add the following code to the Deactivate event of the form.

      WAIT WINDOW "Called from Deactivate Event"

5. Save and run the form. Note that the Wait Window placed in the
   Deactivate event appears after you click the command button.

Additional query words: kbvfp600 kbvfp300 kbvfp500
Keywords          : kbVFp300bbug kbVFp500abug kbVFp500bug buglist3.00 FxprgGeneral kbbuglist
Version           : WINDOWS:3.0,3.0b,5.0,5.0a,6.0
Platform          : WINDOWS
Issue type        : kbbug

Last Reviewed: August 10, 1998