Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress Event - F1-12 keys
Message
From
31/01/2007 09:20:39
 
 
To
31/01/2007 08:51:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01190805
Message ID:
01190840
Views:
23
>>>Hello,
>>>I have a form with KeyPreview = .t.
>>>
>>>I try to catch the funct keys F1.... F12 and combinations with SHIFT/ALT/CTRL
>>>
>>>1) F1 - event not fair
>>>2) F2 - event not fair
>>>3) F3 - event fair, SHIFT-F3 - same as SHIFT-v - not possible to recognize which combination pressed
>>>4) CTRL-F3 - not fair
>>>5) ALT-F3 - not fair
>>>
>>>The question:
>>>How can I use F keys in the KeyPress Event or Can I ?
>>>
>>>Thanks
>>>Denis
>>
>>You can specify a command for every Fx press by using ON KEY LABEL.
>
>Hello Edvard
>Yes. you are right.. but for OnKeyLabel I must to use global object variable to reference the method.. If no chance to use Keypress.. its ok.. I just looking for way to use keypress

Can you use ON KEY LABEL F1 KEYBOARD [some other key]? This way you will definitely get KeyPress execution.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform