Hi Borislav
>Yes, but I always thought that in KeyPress you should get nKeyCode = xx (where xx is the actual code w/o modifiers) and separately you would get modifiers (wrong thoughts were found to be).
Logically you are right, but I guess they want to share the INKEY() everywhere. Why not correct mistakes from the original FP when they *do* modify things, continuing the eg.
From FP25 DOS INKEY() help
Key Alone Shift Ctrl Alt
ENTER 13 13 10 28
From VFP9 INKEY() help
Key Alone Shift Ctrl Alt
ENTER 13 13 10 -/166
If they could change the Alt no. they could the ctrl no.
Well as the article on the UT front page Monolithic Myopia