Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to define a key label per form ?
Message
From
29/06/1999 16:16:44
Kenneth Downs
Secure Data Software, Inc.
New York, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00235469
Message ID:
00235480
Views:
23
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform