>HI EVERYONE
>
>Could some one please suggest how to program KEYBOARD SHORTCUTS for the SAVE,REVERT and other command buttons?
>
>Is there a way to fire an object code form a .prg?
>
1. Set your button's Caption propery to
\<Save
and it will work for Alt+S shortcut.
2. It will work if you address it like:
_screen.activeform.myButton.click()
or use
DO FORM myForm NAME myFormName
and address it as
myFormName.myButton.Click()
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison