Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
F1 key
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: F1 key
Miscellaneous
Thread ID:
00585920
Message ID:
00585937
Views:
32
>>>In my form's keypress, I want to perform an action if the user hits F1. But the vfp help keeps arising and I do not want to use the "on key label" as that forces me to execute a prg.
>>
>>F1 is one of those keys you should stay away from as it is reserved for Help. F10 is another. It's reserved for activating the menu.
>
>I know I'm not supposed to but in my other app, everyone is programmed to hit the F1 key to save a record so I want to give them the option to do so in this app. Possible?

Possible, but not allowed :)

Sorry, could not resist :)

You should program Form's KeyPress method and set KeyPreview property to true.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform