Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lastkey() mmm...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00479344
Message ID:
00479349
Vues:
40
>Hi
>I have one doubt about lastKey() to be more clear ill go to put the steps to reproduce my problem:
>
>1 in one textbox in the valid method put:
>
>Wait window (str(lastkey()))
>clear typeahead
>Wait window (str(lastkey()))
>
>2 run the form and press enter in the textbox...
>
>We have now two wait windows telling us te value returned by lastkey() isnt change :(
>
>is there any way to have the value returned by lastkey() cleared or at least changed programatically?
>
>TIA

Use the KEYBOARD command to put someother character in it and then use INKEY() to suck it up without actually using it. You'll still get whatever character you KEYBOARDed, but at least you'll know you put it there!
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform