Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intercepting keystrokes
Message
 
À
06/06/1998 01:38:08
David Moreau
Iglesia Ni Cristo - Dnm
Quezon, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00105416
Message ID:
00105482
Vues:
66
Sorry David, I misinterpruted the KeyPress() for the InteractiveChange(). Time to get some sleep now. :)

I guess you would have to use the INKEY.

>>Hi Kamal,
>>
>>>How do I retrieve the last key pressed from within interactive change? I know there's a function INKEY(), but I'm not well versed on how vfp5 does its keyboard buffering.
>>
>>The InteractiveChange() method receives two parameters. The nKeyCode already contains the value of the last key pressed so you do not need to use the INKEY function. Have a look at the help file as you might find more interesting things.
>
>I'm sorry to report that I check the online help and the only parameter mentioned for InteractiveChange() is nIndex, which is related to array usage, not keyboard input. Did you make a mistake, or is my documentation mistaken?
>I know KeyPress() receives 2 parameters, one of which is refered to as nKeyCode in the documentation.
>
>Thank you for the quick response.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform