Information générale
Catégorie:
Codage, syntaxe et commandes
Matt,
That may be it! In which case either the definition of 'inheritance' is inaccurate in the docs, or I have badly misread it. 'Cause I sure thought it said that sub-class method code executes IN PLACE OF Class method code when there is some.
IF we assume this latest idea to be the answer, then it would be darmned nice if the VFP docs told us explicitly which behaviours are subject to NODEFAULT and which are overridden by inheritance.
Cheers,
Jim N
>I have a thought.
>
>If I'm to understand Ed and Geary correctly:
>
>Any code will stop inheritance of code defined in a class, but NODEFAULT
>is needed to stop code inherited by the BaseClass. (the code you never
>see in the trace window)
>
>Did Ed already say that? I think he did.
>
>Matt
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement