Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to catch F1 and F10
Message
From
18/11/2003 06:43:48
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00850915
Message ID:
00850921
Views:
17
Hi Chris,

the only solution I can think would be to use ON KEY to redirect the Key

HTH

Agnes
>Hi All - I have set KeyPreview true on my form and I have this code in the KeyPress event...
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>IF INLIST(nKeyCode, 28, -1, -2, -3, -4, -5, -6, -7, -8, -9, 133, 134) THEN
>MESSAGEBOX("F KEY PRESSED")
>ENDIF
>
>
>but this does not catch F1 or F10
>
>I am aware that F1 is reserved for HELP etc and F10 seems to set focus to my menu.
>
>How do I capture F1 and F10?
>
>Thanks
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform