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:51:38
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:
01283025
Vues:
18
>If you are adding to method behaviour, you need to specify DoDefault in the subclass method in order for the parent method to fire.

No code added, but I put DODEFAULT() in anyway and MyPictureButtonsClass still does not have all the behavior that the MyTextButtonsClass does. It is not running the code that is in the MyButtonClass methods. I had changed the buttons in MyTextButtonsClass to be based off of the MyButtonClass, but did not change MyPictureButtonsClass buttons to do the same. I thought they would inherit all behavior from MyTextButtonsClass.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform