Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you copy a component
Message
De
30/11/1999 14:40:32
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00296896
Message ID:
00297054
Vues:
38
Yeah, but I don't suggest going this unless you have a LOT of methods and properties to copy. Is it possible you are not approaching your class design properly? I have never needed to copy a lot of methods from class to class like this. Sounds like VB inheritance.


>Erik,
>
>Do you mean that I should manipulate directly with vcx file as a table? And may be write a simple routine to do that?
>
>
>
>>There's no native support for this. You would need to hack the vcx to get this.
>>
>>>Hi everyone,
>>>
>>> I want to ask: How can I copy one method with it's description from the one class to another class of the same class library? And properties?
>>>
>>>
>>>
>>>
>>>>>>>Do you mean a class from one library to another?
>>>>>>exactly
>>>>>>
>>>>>
>>>>>1. Open the source class library in one instance of the Class Browser,
>>>>>2. Open the destination library in another instance
>>>>>3. select the class in the first instance
>>>>>4. Hold CTRL while dragging the icon in the upper left corner of the browser to the new library.
>>>>
>>>>YES, I did it with proj mgr and it worked. thank you.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform