The F10 key's been reserved for menu activation. You can use ON KEY LABEL F10 ... to intercept it.
The Keypress event doesn't fire for the F5 key in VFP8 if forms Closable = .F.. It's a bug. See
Re: F5 and KeyPress Event Thread #
796465 for discusion and possible workaround.
>I using the function key in my program.
>
>To catch this key im using the keypress event of the form.
>
>Every key is working except for the F5 and F10 keys.
>
>And when i press on the f10 it open me the main menu of the program
>
>So anyone got a solution ????
--sb--