Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress event
Message
From
03/02/2000 17:11:44
 
 
To
03/02/2000 12:34:26
Liz Erdman
Wausau Financial Systems
Mosinee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00326746
Message ID:
00326980
Views:
20
Hi Liz,

>I have a data entry form that allows a user to skip ahead to the next image/record. How do I create a keypress event that will allow the user to hit the F1 instead of having to either click the NEXT button on the screen or hitting ALT+N?

Dont use F1. Also, KeyPress() is a bad event, because the form rarly has focus, its usually a control that has focus, and when keys are hit, the KeyPress of teh control will fire not the Form's. This means every control on teh forum will need this KeyPress().

Instead, stick with the command button, with the caption = "\<Next"

It might even be true that using Alt+N is easier to do then hunting for FUnciton keys anyway.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform