Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I have a true BASE class for everything?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01375878
Message ID:
01377007
Vues:
14
>I am referring to any class that the programmer defines that is a subclass of the VFP baseclass. Sorry for the confusion. There is no universal base class but you can use this same THIS_ACCESS code for all of your subclasses and create a common, universal DECORATOR class.
>
>I always subclass all of the baseclasses before I use them and put them in my "baseclasses.vcx" file. So I call them "my" baseclasses which of course is confusing to anyone else who knows what VFP calls a baseclass.

That's exactly what confused me ;-) I was pretty sure you can't change the built-in base classes.

I have always followed the same practice as you, working with classes one level inherited from the built-in ones. I name the class libraries my_base_classes, acme_base_classes, or whatever.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform