Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to store classes?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00128724
Message ID:
00128803
Vues:
15
>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.

Many programmers have base classes that are re-used in many projects. These classes are kept in their own folder, and then subclassed for each project.

Each of my projects has a LIBS folder containing all of these subclassed VCX files. My preference is to place it directly under the main project folder.

As you gain more experience, you will find that the Wizards will limit what you want to do and you will begin to program the different areas yourself. Customizing the Wizard-produced code and setups usually takes far more time than doing it yourself to your own specifications.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform