Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the easiest way to duplicate a class in a VCX
Message
 
To
11/12/2008 15:35:00
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01366733
Message ID:
01366761
Views:
10
>I have a class library with a combobox that I've customized by adding additional properties and methods. Now I want to use it as a starting point for another combobox class. Can I duplicate it without having to manually rebuild the entire thing as a new class? I thought that the Class Browser might do it but I don't see anything there.
Mike,

The whole idea of classes it that you can use the existing cxlass as a starting point for a new subclass by simply creating a new class that is a subclass of your existing class. You don't copy and paste code to the new class, you make the new class a subclass of the existing one and it magically gets all of the code and properties of the existing class.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform