Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unexpected behavior of view parent code button
Message
From
21/10/2004 00:08:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Unexpected behavior of view parent code button
Miscellaneous
Thread ID:
00953217
Message ID:
00953217
Views:
44
Hi,

I have a form class hierarchy in which the grandparent class has a datamanager object in it which has added code in one of the methods.

When editing the corresponding grandchild method I try to "view parent code", but it only shows the code that the button would inherit if it was standing alone, not the code added to the object within the compound grandparent class.

When the form runs, it correctly executes the code added in the grandparent class, but the IDE does not show the actual code hierarchy of the class.

The behavior seems to be lightly mentioned in the documentation:
If code inherited from the immediate parent class exists, and the parent
class is a member of a container class, Visual FoxPro displays the container
class followed by a separator and then the classes in the parent tree. Other
classes that traverse the container hierarchy might contain code but are not
displayed in the list.
I think VFP should be more precise about the showing the true class hierarchy code, because as it now works is misleading.

Has this behavior been improved in VFP9?

Alex
Reply
Map
View

Click here to load this message in the networking platform