Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code difference
Message
 
À
05/08/2004 06:15:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00930914
Message ID:
00930955
Vues:
19
Hi Tore

>Sorry if my answer was not complete enough for you. NODEFAULT tells VFP NOT to run the code you have in the commandbutton baseclass, if you have any code there.

This is not true. If a method has code it will not call the code in the baseclass unless you use DODEFAULT()

if code runs in a method and NODEFAULT is executed, the VFP behaviour will not run. For instance the example at the start of this thread. It is code in the keypress method, calling NODEFAULT there will prohibit VFP from showing the entered key (in a textbox for example)

Because DODEFAULT() and NODEFAULT have different functions, it is entirely possible to have both commands in the same method.

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

Click here to load this message in the networking platform