Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Active Control?
Message
From
24/10/2002 05:03:13
 
 
To
24/10/2002 03:46:24
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00714699
Message ID:
00714716
Views:
11
>I have a form which set the keyPreview to .T.
>
>But how can I know that where the user press the key? eg. if at text1, do nothing, if from grid1, then go to top...
>
>TIA.

try putting this code into From KeyPress Event
LPARAMETERS nKeyCode, nShiftAltCtrl

LOCAL MyPrueba

MyPrueba = thisform.ActiveControl.name

WAIT MyPrueba WINDOW
José Luis.

Quidquid latine dictum sit, altum sonatur

Previous
Reply
Map
View

Click here to load this message in the networking platform