Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default Button Status shifts to the button clicked
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01154360
Message ID:
01154547
Views:
10
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
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform