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:
00187045
Views:
23
Thanks Josh, I just tested it and it works, thanks for your prompt help.

>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
Power Wong
Every problem will have a solution, the only problem is that can you find it out.
Previous
Reply
Map
View

Click here to load this message in the networking platform