Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lastkey() = 27 in combobox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00368892
Message ID:
00368912
Vues:
20
Chris,

In your combo do your checking this way
IF LASTKEY() = 27
   KEYBOARD "{CTRL+A}" && Change LastKey()
   RETURN .T.
ENDIF
>Hi all,
>
>I am using If lastkey() = 27, return .T., endif in the combobox valid.
>This works fine, however if the user hits cancel or escape and then the add or edit button, they can then click any field on the form and bypass the valid of the field where the cursor is positioned. This seems to be because lastkey() still equals 27.
>
>How can I clear lastkey() ?
>
>TIA
>Chris
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform