Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trap Ctrl+I
Message
From
11/11/2010 15:01:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Trap Ctrl+I
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01488847
Message ID:
01488847
Views:
111
Hi,

I would like to trap the Keycombination Ctrl+I and have therefore set in myForm.KeyPreview = .T. and in the txtBox where I would like to act on this action I have in KeyPress
Lparameters nKeyCode, nShiftAltCtrl

DO case
CASE nKeyCode = 9 And nShiftAltCtrl = 2 
do mySomething
ENDCASE
Ctrl+I is never caught consequently mySomething is never executed. Ctrl+I are not the only combinations not recognized, others like Ctrl+A also however Ctrl+K shows correctly nKeyCode = 11.

Anyubody who could give me a clue how to trap Ctrl+I in mytxtbox?

Regards,

Koen
Next
Reply
Map
View

Click here to load this message in the networking platform