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:38
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00238053
Message ID:
00238058
Views:
12
>Hi.
>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?

Don't use OKL, set the form's KeyPreview property to true, and watch for the key in the form's KeyPress event. When it is clicked, just call

THISFORM.MyButton.Click()
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform