Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I create a new VCX of subclasses programatically
Message
De
08/10/1998 15:33:44
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00142974
Message ID:
00145180
Vues:
40
I would like more details on this Jim. To me, it seem like a waste of space to create a superclass with all the properties and events that all the sub-class will ever use, when only a fraction of these properties and methods will be effectively used by a given sub-class.

>Having a property or method that is not in the parent class can be indicative of a poor class design. The purpose of the highest class level is to define the public interface for all of its subclasses. Introducing a new property or method down the inheritence tree causes the interface to change within the particular class.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform