Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KeyPress Problem
Message
De
01/05/1998 14:20:08
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/05/1998 14:17:05
Jim Si
Alberta Research Council
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00096288
Message ID:
00096347
Vues:
25
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform