Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
F1 problem revisited
Message
From
12/08/2003 10:05:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00819020
Message ID:
00819340
Views:
10
>>>I thought I had it solved or so it once was but is back. I have code in a form that says SET FUNCTION F1 to '28'. The user is instructed to press F1 to save all changes, but if there is incorrect data (which in the keypress event there is code to validate user input), the form stays open and the users must correct their data. However in the case of a needed correction, hitting the F1 key puts a "2" into the current textbox, the 2 being the "2" of 28. A way to eliminate this?
>>
>>I believe that in general you would have less problems if you: 1) Avoid using F1, this being the standard key for "Help". 2) Use any key (F2, Shift-F2, etc.), as a shortcut key for a menu item.
>
>you are probably right, but this is a carry over from DOS and the users here will go ballistic if I change the key they use most. Any suggestions?

Try my idea #2 by itself (assigning F1 to a menu item). I don't know whether you will have compatibility problems, so you must test it.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform