Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove something from a parent class
Message
From
13/10/2006 09:44:05
 
 
To
13/10/2006 09:12:40
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01161714
Message ID:
01161723
Views:
14
As others have said, you should rethink your class design. This is a perfect use for composition rather than inheritance. Look at the Strategy Design Pattern. http://fox.wikis.com/wc.dll?Wiki~StrategyPattern~SoftwareEng


>When we subclass we cannot remove any object in the subclassed class. Is it possible to overcome that and remove some objects?
>
>Thanks
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform