Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KeyPress Problem
Message
From
01/05/1998 14:20:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
01/05/1998 14:17:05
Jim Si
Alberta Research Council
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00096288
Message ID:
00096347
Views:
14
>>>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.
>
>>Keypress doesn't support Alt combination. Instead you would need something like lastkey(), inkey().
>
>Hi Cetin,
>
>Thank you for replying.
>
>If it is true that Keypress doesn't support Alt Combination, why when KeyPreview =.F. Alt combination does work as expected? If you don't belive me you can give it a try.
>
>I will try to use lastkey() and inkey() as well.
>
>Jim S
Jim,
How as expected ? Have you put a wait window in alt+letter keypress case or alt+letter did what it should ? If latter in many cases you don't need to catch alt+letter. ie: Page.caption = "\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