Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to define a key label per form ?
Message
De
29/06/1999 16:16:44
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00235469
Message ID:
00235480
Vues:
24
Eric,

The cleanest and safest way to do this have menu items with these shortcut-keys defined, with SKIP FOR... clauses. For buttons on a form, the menu command can then call the button, something like this:


Define Bar XX of MyPullDown PROMPT "Do only for MyForm";
KEY f5,"F5";
SKIP FOR TYPE("_Screen.ActiveForm.MyButton") <> "O"
ON SELE BAR XX of MyPullDown _Screen.ActiveForm.MyButton.Click

>
>?Is there a way to specify a ON KEY LABEL that would be only effective in a particular form?
>?Alternatively, is there property in the button object were we can specify a keyboard shortcut such as F5?
>
>Thanks.
>Eric.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform