Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Function keys with KeyPress event
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00423363
Message ID:
00423927
Views:
12
Thanks Barbara,

I did use
ON KEY LABEL F12
to turn it off (I didn't make that clear)

I have tested the Keypress event on a clean form and it interprets the function keys just fine.

I don't think anyone can help me on this one now, since there is obviously something happening elsewhere on my form that is causing a problem.

I have a timer active running a FancyTooltips object and I will start looking there first.

Thanks again


>>It seems that on key label is fired before the keypress event and is firing off the KEYBOARD('XXXXXXX') command I have assigned to it.
>>
>>Switching off the key label assignment using
>>ON KEY LABEL
>>Did not help either since the keypress event did not fire at all in this situation when the F12 key was pressed.
>>
>
>To turn off the macro stuff happening with F12 you need to say ON KEY LABEL F12.
>
>I would advise against using OKLs at all. Just do what you want in the Keypress method.
Previous
Reply
Map
View

Click here to load this message in the networking platform