Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems managing grids
Message
De
22/12/2004 09:53:12
 
 
À
22/12/2004 03:24:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00971008
Message ID:
00971403
Vues:
14
Hello Alessio,

My code did not work because i put the nodefault clause at the beginning of the code, putting it where you told me, works fine. Anyway I don't understand why it behaves so...but the important thing is that it works !!!

I makes some sense when you stop to think about it. By default, VFP runs any custom code that you have written in a native method. It then runs any code that it in the base class (if any). For example, If you put code in the KeyPress() method and then issue NODEFAULT, it suppresses the keystroke. I imagine that if you put the NODEFAULT before your custom code, VFP probably sees the custom code and then executes its native base class behavior because that is what it does: run your custom code and then execute the default base class behavior unless it sees a NODEFAULT.

Anyway, I am glad that you got it working.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform