Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I tell what button was clicked in an event?
Message
 
 
À
26/09/1999 10:24:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00269019
Message ID:
00269137
Vues:
23
Mike,

Two problems with that code. It won't work if the user hits the Escape key. And it may accidently trigger if the user even just has the mouse sitting over the top of the cancel control without clicking it.

>Hi Peter,
>
>>I need to know what was clicked (or typed) in an event so that when a client hits the CANCEL button on a form, my standard input validation routines can be skipped and the CANCEL processed.
>
>In addition to the last key way, something like:
>
>type('sys(1270).Cancel') = 'L' and sys(1270).Cancel
>
>>Also... if I just skip that part of the valid code with a if then or something, will the code for the CANCEL fire immediately following?
>
>Yep, AKAIK
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform