Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child class in code does not contain method from parent
Message
From
16/06/2004 18:34:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Child class in code does not contain method from parent
Miscellaneous
Thread ID:
00914483
Message ID:
00914483
Views:
53
I created three classes in code, as a three level hierarchy, paren, child and grandchild. In the parent class I placed some methods which, for the time being, are not mentioned in the child and grandchild classes.

After instanciating an object based on the grandchild class, I was surprised to find that the methods defined in the parent class but not in the child class do not show up, as would happen if the classes were created visually.

Am I doing something wrong, or must all methods be mentioned in each level?

Note: The methods that were mentioned in the intermediate class and not in the grandchild class did show up in the object. I am using VFP8.

TIA,

Alex
Next
Reply
Map
View

Click here to load this message in the networking platform