Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KeyPress Problem
Message
From
01/05/1998 13:30:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
01/05/1998 11:21:51
Jim Si
Alberta Research Council
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00096288
Message ID:
00096324
Views:
13
>I have assigned a set of Alt + [letter] keys and a set of Ctrl + [letter] keys. Alt + [letter] keys are assigned to set orders on grid on page 1. Ctrl + [letter] keys are assigned to move the cursor to a specific field on page 2.
>
>Problem is that if I set the form property KeyPreview to .T. Ctrl + [letter] key set works properly but Alt + [letter] key set does not work. If I set the form property KeyPreview to .F. Alt + [letter] key set works properly but Ctrl + [letter] key set does not work.
>
>Has anyone encounter such kind of problems?
>
>Thanks.
>
>Jim S
Keypress doesn't support Alt combination. Instead you would need something like lastkey(), inkey().
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform