Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending click with on key label
Message
From
06/07/1999 21:16:03
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00238053
Message ID:
00238057
Views:
12
Trap the function key in the form KeyPress() event.
DO CASE
CASE nKeyCode = -1 && F2
   cmdSomeButton.Click()
...
ENDCASE
HTH

>I need to send a click to a button when a function key is pressed, i've tested on key label, but it produces an error when i press the function key. What can i do?
Previous
Reply
Map
View

Click here to load this message in the networking platform