Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bypass Validation when a Cancel button is pressed.
Message
De
10/11/1999 08:36:31
 
 
À
10/11/1999 03:18:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00288499
Message ID:
00289511
Vues:
49
Catin, I will try to explain my problem once again.

When I press Cancel, from any input field it refreshes the form without doing any validations. To do this I trap the Lastkey() value in the valid event of input fields. The ‘Cancel’ property for Cancel button is True.

First time when I pressed Cancel the Lastkey() value becomes 27, It trap the Lastkey() value in Valid event and returns. Now when I move the control from one input field to another, it should do the validations. But it again traps the Lastkey() value and returns. Because the lastkey() value is still 27.

My problem is How to clear Lastkey() value from the memory. I have tried CLEAR TYPEAHEAD, KEYBOARD{'ins'} but it does not work properly.

Thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform