Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a GrandParent's code
Message
 
À
10/07/2000 12:18:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00390278
Message ID:
00390282
Vues:
9
John,

If you grandparent's class name is gp and the method you want to call is LostFocus.... just use gp::LostFocus()

>Hey Fox Experts -
>I have a dilemma. I am sub-classing a form and in turn the objects within. In one of the objects in the sub-class, I'm modifying the LostFocus method code.
>
>I have copied the LostFocus code from the Parent and dropped it into the sub-class method to make mods to it. Within THAT code is a call to the DODEFAULT() of the Parent's Parent.
>
>I want to change the code in the sub-class and NOT run the code of the Parent, but I DO want to run the code that Parent called in its DODEFAULT(). I've looked at the Help files and they don't seem to show a way to run a GrandParent's code -- jumping OVER the Parent.
>
>Does anybody know of a way?
>
>TIA!

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform