Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ALT Key
Message
From
01/12/2007 01:00:36
 
 
To
30/11/2007 17:06:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01272544
Message ID:
01272610
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform