Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Modifying a form class that's in use
Message
From
17/08/1999 19:27:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Modifying a form class that's in use
Miscellaneous
Thread ID:
00254753
Message ID:
00254753
Views:
50
I discovered I needed to make a local copy of a form class if I intend on modifying it while people are using forms that are based on it (duuuuuhh...he said, blondly).

It seems like the optimal way to operate is to use the doubly open class browser trick to make a copy in my test class library . Edit the form class. Test it with a local copy of the form I create in the form designer. Then, when its working, use the doubly open class browser to put it back into the working class library (after deleting or otherwise moving the current version of the form class).

Is this the usual modus operendi for working on form classes in use?

While working on the local copy of the base form class, it would be nice to create a local copy of one of the working forms that is based on it for test purposes. But since the ClassLibrary property is not writable, I'm not sure how to make this work.

Any insights on 'the proper way' or the 'conventional way' or whatever to modify and test object classes that are in use would be greatly appreciated. Or, if there's a good writeup on how-to, please point me in the right direction.
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum
Next
Reply
Map
View

Click here to load this message in the networking platform