Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy classes from other classlib
Message
 
To
04/12/2001 09:24:09
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00589229
Message ID:
00589380
Views:
11
>Hi all,
>
>is there a trick to copy a class from a classlib to another classlib ??
>
>ex.
>
> classlib.vcx copy anotherclasslib.vcx
> -myform -------> -sameformAsmyform
Jimmy,

Whenever you =find yourself wanting to copy a class to another library, you should very carefully consider subclassing instead. Copying stuff in OOP is usually a hold over from other environments where subclassing is not an option.

You can create a new classlib and then create a class in it that is subclassed from your myForm class. This new class would inherit all of the properties and methods form myForm.
Previous
Reply
Map
View

Click here to load this message in the networking platform