>>>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