Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange Code
Message
De
03/05/2001 09:07:22
 
 
À
03/05/2001 02:55:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00502519
Message ID:
00502951
Vues:
19
>It's in a Button Click Event.
>I removed it and the function now functions correctly...
>
>The code really looked exactly like:
>
>THISFORM.lEditMode = .F.
>THISFORM.lNewOperation = .F.
>NODEFAULT
>THISFORM.ShowGets()
>
>I was just generalizing for simplicity.

Just asking because there are uses for NODEFAULT - e.g., in Codebook's Quicken(r) style date textbox it's useful to turn off the annoying beep or in a KeyPress event to cancel a keystroke.

But in a Click() - yeah, that doesn't do anything at all.

I wonder if the developer was confused thinking that it would stop any inherited custom code from firing, not realizing that he had already done that by adding code at all.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform