Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class based on class does not pickup new class behavior
Message
De
18/01/2008 11:25:25
 
 
À
18/01/2008 11:13:14
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01282992
Message ID:
01283006
Vues:
16
Sounds like it is working right. The code won't cascade down, but calls will go through the class hierarchy and run correctly.

>This stuff is killing me!
>
>MyPictureButtonsClass (container of buttons)
>
>...container based on:
>
>MyTextButtonsClass (container of buttons)
>
>...buttons based on:
>
>MyButtonClass (custom class based on CommandButton)
>
>MyPictureButtonsClass is not picking up code in MyButtonClass. Only code in MyTextButtonsClass. If I edit buttons in MyTextButtonsClass, I can see the Parent code of MyButtonClass. If I edit buttons in MyPictureButtonsClass, I only see Parent code from MyTextButtonsClass, not the next level down (up?) in MyButtonClass. I expected the behavior of MyButtonClass to cascade all the way up to MyPictureButtonClass.
>
>Whew! Make any sense?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform