Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KEYBOARD SHORTCUTS
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00024459
Message ID:
00024460
Views:
32
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform