Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic inheritance in Foxpro
Message
 
 
À
06/12/2000 00:48:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00449805
Message ID:
00450223
Vues:
37
Michael,

Where did you get that quote?

Inheritance isn't really dynamic at all. In a classlibrary subclasses have an explicit reference to the classlib and class it is derived from.

With a PRG based class you could change the definition of the baseclass based on the current SET PROCEDURE stack. I'd strongly urge you to not try doing something like this it goes against nearly every principle of good O-O design.

>"Visual Foxpro operates on dynamic inheritance. It instantiates classes from a library or from base classes. It can also modify and save classes - including contained objects into the class library at run time."
>
>Does anyone have or know a location of the complete example demonstrating dynamic inheritance in VFP.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform