>Hi
>
>How do I make my form.keypress event capture F1 and F10 ?
>
>Form.Keypreview = .T.
>And I'm also having a menu active.
In the VFP Help, the INKEY topic has the code for these Key presses. Since you also have menu considerations, you might consider PUSH KEY in the form activate and clear any of their functionality. Use POP KEY in the form deactivate. In the KeyPress, handle all the function key keypresses yourself.
Mark McCasland
Midlothian, TX USA