Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KeyPress - Ctrl-Z and Ctrl-Arrow
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01062171
Message ID:
01062194
Views:
16
You're welcome.

>Perfect!
>
>Thanks Sergey!
>
>+++ Rick ---
>
>
>>>I've decided I need to implement my own Undo behavior in my textboxes so I need to trap Ctrl-Z in the editbox control.
>>>
>>>Unfortunately both Ctrl-z and Ctrl-arrow return the same exact key code (26).
>>>
>>>Does anybody know how else I can check reliably for the right keycode?
>>
>>Rick,
>>
>>You can use GetKeyState or GetAsyncKeyState. See Re: Is there a way to detect a Key being help down? Message #633669
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform