Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I _Need_ OKLs!
Message
From
03/07/1999 21:48:30
 
 
To
02/07/1999 19:48:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00237087
Message ID:
00237262
Views:
12
>Erik
>
>Still on the subject of "not using OKLs"

Hi, Eric. I've skimmed through this thread and it seems to make a good of case for menu shortcuts. I never went down that path for some reason.

What I did do was devise a generalized KeyPress method which looks for controls with names equivalent to Function keys. (Regular and shifted only--didn't get into alt and ctrl.) Thus if I press F12, my KeyPress method looks for a form control named "cmdF12" and "clicks" it if found. If I press Shift-F12, it looks for a control named "cmdShiftF12". The caption on the control always starts with the function key name, e.g. "F12 Search", "Shift-F4 Print", etc. Therefore there is always a one-to-one relationship between mouse actions and hot-keys. And the user can see the hot-key to use at all times.

May not be helpful but I thought I would mention it.

Peter Robinson

BTW, as I mentioned in another thread, I still have a few OKL's <g>.
Peter Robinson ** Rodes Design ** Virginia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform