Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Class programmatically
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00543711
Message ID:
00544036
Views:
15
Glenn,

Could you upload your class here, please? Though I believe I saw the similar class here, but I could not remember its name and could not find it.

>For several years I have used a program called NewClass which is designed to safely change classes in forms and classlibraies. I wrote it years ago after having made many "BASE CLASS" mistakes with VFP3.0. It allows you to select the form which you need to change, and then displays a list of classes used in that form. It also lets you select a classlib which will be used for replacement classes. If you select one of the classes in the form class list the library list will display a list of classes with the same base class as that selected. There is a checkbox on this form which allows you to list all library classes but that is optional. After having selected a class to change you may then select an item in the library list. If you click the ADD button this change will be placed into the Queue list. You may repeat this as many times as you like to change multiple classes in one session. You may also remove items from the queue. After making all selections you can press the
>apply button and the original files are backed up with extensions like t00 - t99, x00 - x99, After the files are successfuly backed up the queued changes are applied, the lists updated and you are allowed to continue.
>
> If If you are interested in using it let me know. I can send you a copy.
>
>
>>How feasible (aka advisable) is it to go into a screen file and change what class the objects are based on? If it isn't too dangerous, what are some suggestions on accomplishing this.
>>
>>red
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform