>I've created set of command buttons for Confirm / Discard in a Form & I want to assign a short cut key F11 & F12 respectively, can any one help me
Hi Sabari;
The easiest way (I believe) is this following:
PROCEDURE thisform.actitivate
if type("oForm")="U"
Public oForm
oForm = thisform
endif
ON KEY LABEL F11 oForm.mycommandbuttom1.click()
ON KEY LABEL F12 oForm.mycommandbuttom2.click()
ENDPROC
PROCEDURE thisform.deactivate
push key clear
ENDPROC
HTH
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20