Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function Keys and Buttons
Message
From
30/06/1999 09:42:48
 
 
To
30/06/1999 09:24:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00235845
Message ID:
00235858
Views:
21
>How can I assign a function key (F2,F3 etc) to a button in a form. I do know about the hot key assignement with \< but that that does not seem to work with function keys.
>
>Thanx
>Gnana

Gnana,

If this is a Visual Fox question, you could use the KEYPRESS event of the form to trap the keypress, and then act on it by calling the required button click code. For this to work you will need the KEYPREVIEW property of the form set to TRUE, otherwise the selected controls KEYPRESS event will be fired.

HTH
regards

Ian
Previous
Reply
Map
View

Click here to load this message in the networking platform