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:
00940399
Vues:
16
DJ,

To add to what Wayne, Nick and Alan already said *g*

Back in VFP3 we only had the :: scope resolution operator and so the calls to the parent class became inexorably tied to the ParentClass name and method name like:
Textbox
   aTextbox
      bTextbox
in bTextbox you had to explicitly code aTextbox::SomeMethod()

With dodefault() these hardcoded name dependencies go away.

>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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform