Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying classes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00230317
Message ID:
00230653
Vues:
23
>>Or you can use the Project manager to drag the class from one library to another - be wary of the back pointers though. It may still be sub classed from its original source.
>>
>Ian, I dont have both classes in a project , so I am trying to use class browser..... but I am not able to 'Drag' the class from one instance of the class browser... any ideas ?
>
>Regards,
>Gerard

I always use a dummy project - its a quick and easy to access a class or a form. Don't forget that a VCX or an SCX can reside in many different projects. One trick I use is :

a) copy the VCX that I want to move a class from, to a different directory.

b) Add that class to a dummy project and open the project.

b) Add the target class to a another dummy project and open it.

c) Drag the class from a to b

d) rename the FROM directory

e) open the VCX that I copied the class TO

f) if it errors about the location of the base class, point it to the new class

This saves having to mess about with the fields in the .VCX file - which you can do if thats easier - I prefer the renaming directory trick.

HTH
regards

Ian
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform