Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot modify a class that is in use
Message
From
04/12/2002 11:40:00
Jorge Haro
Independent Consultant
Juarez, Mexico
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00729332
Message ID:
00729479
Views:
10
The clear all, release all and all that is more of a temporary solution than anything, the form has a dangling reference and you need to figure that out in order for it, and its controls, to be properly unloaded from memory, there are some utilities here in the UT that will allow you to detect this, I believe objref is the name of one.

>I need to replace all standard textboxes on forms in a project to a textbox class I have created.
>
>I wrote a program that went through each form in the project, used it as a table and replaced the class & classloc fields with the correct class and class library name.
>
>All went fine and the app runs properly.
>
>Whenever I open and then close a form in design that has the textbox class on it however, I am unable to then open the textbox class - a dialog box states = "Unable to modify a class that is in use".
>
>It is as if the class is opened when the form is opened but is left open after the form is closed.
>
>Any ideas as to what is going on ?
>
>Cheers,
>Jamie
Previous
Reply
Map
View

Click here to load this message in the networking platform