Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding code to every form/WriteMethod
Message
 
 
À
27/03/1998 12:43:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00087353
Message ID:
00087736
Vues:
35
Jim,

DoDefault() or :: does cause the code up the class tree to be executed, right when it's called (IN-LINE), it's not at the end like the VFP BaseClass behavior.

FWIW in C++ there is no automatic calling of the method code, you always have to use ::, unless you are intending to explicitly prevent code up the class from executing.

>
>That aside, It still appears more likely to me that DODEFAULT would operate similarly to NODEFAULT - that is, *after* supplied code is executed.
>And therein lies one MAJOR advantage of the :: way of doing it, in that it makes sense that that would execute IN-LINE exactly where specified.
>
>I may be barking up the wrong tree here, but details like this seem relevant to me, and I would like the docs to tell me rather than have to guess.
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