PRB: Class Browser: Removing a Parent Class Causes Error

Last reviewed: September 28, 1995
Article ID: Q137440
The information in this article applies to:
  • Professional Edition of Microsoft Visual FoxPro for Windows, version 3.0

SYMPTOMS

Dragging a class from the Class Browser to the Visual FoxPro screen produces a "Syntax Error" or "Variable Not Found" error message, and then the Microsoft Visual FoxPro title disappears from the window.

CAUSE

When a class is dragged to the screen, an instance of the class is created. The code in the Init, Load, and Activate events is processed. Errors caused by the code are returned by the Class Browser.

RESOLUTION

To restore the settings of the main Visual FoxPro window, type the following in the Command window:

   MODIFY WINDOW SCREEN

STATUS

This behavior is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Start the Class Browser. Open the TSGEN class library located in the Samples\Mainsamp\Libs directory.

  2. Click the Application class.

  3. Click the Custom Class icon, and drag the class to the screen. The error "Variable Not Found" is displayed.

  4. Click OK until the last error is displayed. The Visual FoxPro window title disappears.


Additional reference words: 3.00 VFoxWin
KBCategory: kbtool kbprb
KBSubcategory: FxtoolClassbrow


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: September 28, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.