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:
00729354
Views:
11
>Nope that did fix it. I've never noticed that before in development. Then again - I've lways used form classes instead of normal forms ... Maybe that's it ?

Using class can be save development.

>
>
>>When I try that I get "Cannot clear the object in use"

I get same error, sometimes. QUIT it pacify.

MartinJ

>>
>>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
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Previous
Reply
Map
View

Click here to load this message in the networking platform