Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What? NODEFAULT ?
Message
De
25/06/1996 07:08:51
 
 
À
25/06/1996 06:50:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00002865
Message ID:
00002867
Vues:
30
>What exactly does the NODEFAULT statement do ?

as its name implies it prevents the defualt action from taking place e.g
let say u modified the keypress event of a textbox sub-class
and among other things you called the keypress event the
regular VFP txtbox [txtbox::keypress(key,altctrlshift)]
if u will not include the NODEFAULT the key will be processed
again (the effect will be as if u pressed the key twice)
including NODEFAULT will prevent the keypress event to continue
it normal course (after the code u added)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform