Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox - don't want ENTER to change value
Message
 
À
21/12/1999 20:37:09
Bill Totten
William Totten & Associates, Inc.
Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00307053
Message ID:
00307080
Vues:
21
>I would like to override (disable) the default behaviour on a CHECKBOX when the user presses ENTER and if toggles the VALUE. Ideas please ....
>
>TIA,

Bill,

In the Valid event of the checkbox put this code;
IF LASTKEY() = 13 && Enter
   This.Value = NOT This.Value
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform