Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control Exit Via Mouse
Message
De
13/10/1997 12:24:45
 
 
À
13/10/1997 09:13:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00054285
Message ID:
00054317
Vues:
34
Put this in GotFocus or When events:

KEYBOARD chr(255)
CLEAR TYPEAHEAD

This clears any previous key and sets the LASTKEY() to 255. This is necessary in order to delete any previous TAB, ENTER, etc, LASTKEY(). In the Valid event check for LASTKEY() and if it's different than TAB, ENTER, etc, then it was exited using the mouse.

Vlad

>I need a way to know whether the user exited a control via a mouse click (rather than a TAB, ENTER, SHIFT--TAB). Any ideas out there about how I can determine that?
>
>TIA.
>
>John
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform