Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making classes truly independent
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00015453
Message ID:
00015459
Vues:
29
>I had to try and encapsulate a class today to send to someone. Problem was that the class was a container that contained objects whose base class was in a different vcx file so I couldn't just send the one vcx file.
>
>Solution:
>
>Copy all necessary classes into the new vcx file. Now go and type
>
>use newfile.vcx
>
>Goto the classlib field and change all the values from the source vcx file to the newfile.vcx
>
>close the newfile.vcx
>
>Remodify it in the class so the new vct file is generated and thats it. You now have a new vcx file
>that is independent of any other vcx files.
>
>If I'm not being clear let me know.


Would a COMPILE CLASSLIB form the command window have worked as well as just making a change and then resaving?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform