Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic inheritance in Foxpro
Message
 
 
To
06/12/2000 00:48:24
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00449805
Message ID:
00450223
Views:
35
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform