Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to store classes?
Message
De
21/08/1998 10:24:46
 
 
À
21/08/1998 08:47:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00128724
Message ID:
00128763
Vues:
14
>I want to make a our project as portabable as possible. When a project structure is defined, no subdirectory is created for Classes.
>
>1. Do most programmers keep there classes in a VFP subdirectory instead of putting them in their project?
>
>2. If the standard VFP wizard is used to create a form, should the class used by that wizard be copied to the project? Then, do I have to hack the form so that it points to the new location of the wizard class?
>
>Thanks in advance.


I keep my top level classes in \COMMON\CLASSES directory, then subclass them for each project. If you copy them, you lose the ability to make changes once then inherit them. Under each project I have a CLASSES directory for that projects classes.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform