>Thanks Mark, I tried that. It works fine. Any idea on how to set shortcuts to the function keys ?
In addition to what Hilmar said, intercepting the function key keystrokes, see the INKEY() topic in VFP Help for a list of the codes for each of the function keys. You can trap for these codes in the KeyPress method of your form. Then based on the value of the code, you can call the click of the appropriate button or just issue a DODEFAULT(nKeyCode, nShiftAltCtrl).
Mark McCasland
Midlothian, TX USA