Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancelling when in Valid Event
Message
De
13/07/1997 12:25:06
 
 
À
13/07/1997 01:11:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00039722
Message ID:
00039753
Vues:
40
Yes, but the user clicks on a Cancel button, so the last pressed key is not Esc. :)

Vlad

>Hi!
>
>Just place in Valid Event the following:
>
>if lastkey() =27 && Esc was pressed
> return .t.
>endif
>
>Have a happy day
>Vladimir Shevchenko
>
>> I would like to cancel and exit my form by pressing a Cancel button.
>> However, if i am stuck in a Valid event, i am unable to do so until i
>enter
>> a valid item in the field concerned. How do i solve this problem ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform