Trap the function key in the form KeyPress() event.
DO CASE
CASE nKeyCode = -1
cmdSomeButton.Click()
...
ENDCASE
HTH
>I need to send a click to a button when a function key is pressed, i've tested on key label, but it produces an error when i press the function key. What can i do?