Q189604: PRB: Error in Moved Event of Form Appears to Hang VFP
Article: Q189604
Product(s): Microsoft FoxPro
Version(s): WINDOWS:5.0,5.0a,6.0
Operating System(s):
Keyword(s):
Last Modified: 11-DEC-1999
-------------------------------------------------------------------------------
The information in this article applies to:
- Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a, 6.0
-------------------------------------------------------------------------------
SYMPTOMS
========
When there is a syntax error in the Moved Event of a form, as described in the
MORE INFORMATION section, Visual FoxPro appears to hang when the form is moved.
The buttons on the Program Error dialog box may not respond to a mouse click
making it look like Visual FoxPro is hanging. This behavior does not occur in
Visual FoxPro 3.x.
RESOLUTION
==========
The mouse may not allow you to click the Cancel button. However, either of the
following actions clear the Program Error dialog box:
- Press the ESCAPE key.
-or-
- Press the ENTER key when the Cancel button has focus.
STATUS
======
Microsoft has confirmed this to be a bug in the Microsoft products listed at the
beginning of this article. We are researching this bug and will post new
information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
================
Steps to Reproduce Behavior
---------------------------
1. Create a program with the following code and run the program:
xMovedTest=CREATE('testme')
xMovedTest.SHOW(1)
DEFINE CLASS testme AS FORM
CAPTION = "Try to move me"
PROCEDURE MOVED
ENDIF && There is no IF statement
ENDPROC
ENDDEFINE
*-- End of Code
2. Attempt to move the form and the Program Error dialog box appears.
Additional query words: kbvfp600
======================================================================
Keywords :
Technology : kbVFPsearch kbAudDeveloper kbVFP500 kbVFP600 kbVFP500a
Version : WINDOWS:5.0,5.0a,6.0
Issue type : kbprb
=============================================================================
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.
Copyright Microsoft Corporation 1986-2002.