Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KEYBOARD SHORTCUTS
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00024459
Message ID:
00024460
Vues:
37
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform