PRB: Class Browser: Removing a Parent Class Causes Error

ID: Q137440


The information in this article applies to:
  • 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 query words: 3.00 VFoxWin

Keywords :
Version : WINDOWS:3.0
Platform : WINDOWS
Issue type :


Last Reviewed: December 12, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.