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:40:59
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
18/01/2008 11:25:25
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:
01283023
Vues:
15
But MyPictureButtonsClass does not run the code in MyButtonClass. MyTextButtonsClass does run that code though.

>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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform