Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 5.0 ON KEY LABEL
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00172619
Message ID:
00172938
Views:
36
>Bly,
>
>Set the fomr's keypreview to .T. and trap the keystroke in the form's keypress event.

And don't forget, for any keystrokes you're trapping that have another default FoxPro meaning (e.g. PgDn normally instructs FoxPro to go to the next active form if there is one) to put the keyword NODEFAULT in the CASE which is handling that keystroke in your KeyPress method code.

HTH
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Previous
Reply
Map
View

Click here to load this message in the networking platform