Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot modify a class that is in use
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00729332
Message ID:
00729347
Views:
11
When I try that I get "Cannot clear the object in use"

Hmmm...

>Because VFP loading class's definition into memory.
>After modify form and modify any class you must run CLEAR ALL.
>
> MartinJ
>
>>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
Cheers,
Jamie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform