Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code difference
Message
 
À
05/08/2004 09:37:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00930914
Message ID:
00930991
Vues:
22
Hi Viv,

>Hi,
>
>>>
>This is not true. If a method has code it will not call the code in the baseclass unless you use DODEFAULT()
>>>
>
>This is not true. Method in the baseclass will always run unless you issue a NODEFAULT.

Sorry, I meant parentclass.

>>>
>if code runs in a method and NODEFAULT is executed, the VFP behaviour will not run.
>>>
>
>This is not true. If you have code in a method any parent code (excluding the base clase code) will not execute unless you issue a DEDEFAULT()

Guess we have a different opinion on how to describe what doesn't run when NODEFAULT is 'called'

Take as an example the keypress event. There is no VFP code that actually puts the entered key into the textbox, that is done by VFP itself (using C++ code) and that is what I call 'the VFP behaviour'

What I define as 'the VFP behaviour' you define as 'the baseclass code'

Regards,
Frank Camp
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform