>Hi Sergey,
>
>We have a project and everytime we want to create a new record (in whatever form) we press the f5 key. This f5 key triggers a method in the calling form where we put the code behind.
>
>Now i have to create a modal form and like in all forms i want to use the f5 key to create a record in a table.
>
>I know that a modal from doesn't allow to activate/use other forms and menus. So i thought to capture the f5 keypress in the keypress methode of my form. So i put keypreview to .T. and put some code behind the keypress methode.
>
>But now i see that the f5 keypress doesnt trigger the keypress methode of my form.
>
>So i have a big problem.
Do you've ON KEY LABEL F5 in effect?
--sb--