Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use F1 to F10 as hot-key in my program?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00187035
Message ID:
00187039
Views:
30
You can always use ON KEY LABEL F10 KEYBOARD '{ALT+X}'. ON KEY LABEL can be tricky because it will actually allow an event to occur between lines of code. However, by using it to put a keystroke in the keyboard buffer you get around this problem because the Alt-X won't be processed until your program hits a wait state anyway.

>Dear all,
>
> For example, I have an exit button in my form, I set its caption = (Alt-\>
>thanks
>Power
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform