Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclass _base.vcx or redefine _base.vcx to my classes?
Message
 
À
13/12/2004 11:20:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00968773
Message ID:
00968996
Vues:
7
Hi Ed,

>Would I be better off to just subclass the _base.vcx to my base classes rather than redefine _base.vcx?

Copy. As a rule of thumb, I never use any class outside of the project directory. If I need a class, I copy it into the project directory. Well, actually, it's a bit more complicated. Aside from simply copying a class I might also use the Share feature in VSS to produce thse copies but keep them automatically in sync. Or, I might use a tool that comes with the Acodey framework and automates this process of copying making it a snap to apply an updated version.

Instead of copying classes from the FFC method by method and property by property, I'd simply copy the records from their VCX into my VCX and adjust the CLASSLOC and CLASS fields as needed.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform