Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALT Key
Message
De
01/12/2007 01:00:36
 
 
À
30/11/2007 17:06:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01272544
Message ID:
01272610
Vues:
17
>Tamar,
>
>Do I need to set the parameters some how. I the method I see the the following but need to Identify what keys are pressed.
>
>"LPARAMETERS nKeyCode, nShiftAltCtrl"
>
>Or do I set this in the somewhere else as a reference.

At runtime, when the KeyPress event occurs, those two parameters are passed in to the method for you. You examine their values to figure out what to do.

For example, if Alt-D was pressed, the values passed in would be
nKeyCode = 100
nShiftAltCtrl = 4
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform