Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KEYBOARD SHORTCUTS
Message
From
17/03/1997 13:19:32
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00024459
Message ID:
00024546
Views:
40
>>>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 \ 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()
>
>thanx.
>
>I'm using pictures instead of caption. will it still work using \ ?


Setup a menu option that does it for you and assign the shortcuts to the menu.

Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform