Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can anyone explain DoDefault?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00940368
Message ID:
00940375
Vues:
14
When you place code in a method of an object, you are overriding the code of the parent's method. If you want the code of the parent to run, you can use DODEFAULT(). Try putting something like this in a subclassed method and see what happens;
** Some code in a method
Wait wind "hello world"

set step on

dodefault()  && This will take you to the method in the parent
>I have seen this in articles, and coding all over the place. I have no idea what it means, when I should or shouldn't use it, or if it is even required.
>
>TIA
>
>DJ Hunt
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform