Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unexpected behavior of view parent code button
Message
De
21/10/2004 00:08:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Unexpected behavior of view parent code button
Divers
Thread ID:
00953217
Message ID:
00953217
Vues:
45
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
Répondre
Fil
Voir

Click here to load this message in the networking platform