Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass _base.vcx or redefine _base.vcx to my classes?
Message
 
To
13/12/2004 11:20:15
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00968773
Message ID:
00968996
Views:
8
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform