>>>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