Microsoft KB Archive/137440

= PRB: Class Browser: Removing a Parent Class Causes Error =

Article ID: 137440

Article Last Modified on 12/13/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition

-



This article was previously published under Q137440



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.



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: KB137440

-

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

© Microsoft Corporation. All rights reserved.