Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclassing Entire Library
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00170168
Message ID:
00170244
Views:
26
>Mark,
>
>If you use the VCX as a table, you can browse it and take a look at its contents. You'll see that it would be pretty easy to write a utility to do what you want to do. It would just copy each class without any property and method code and indicating the original class as the parent. It may take you a little trial and error, but once you've learned the vcx format there's a lot you can do with it.
>

I think the utility can be done without even hacking the VCX... there are commands you can use to list all the classes in the VCX... and you can use create class to subclass each one.

Also, you could just copy the VCX... open it in the class browser, rename all the classes, then redifine them... would probably take about the same time as creating the classes manually to.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform