>How can I assign a function key (F2,F3 etc) to a button in a form. I do know about the hot key assignement with \< but that that does not seem to work with function keys.
>
>Thanx
>Gnana
Gnana,
If this is a Visual Fox question, you could use the KEYPRESS event of the form to trap the keypress, and then act on it by calling the required button click code. For this to work you will need the KEYPREVIEW property of the form set to TRUE, otherwise the selected controls KEYPRESS event will be fired.
HTH
regards
Ian