Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting SHIFT or CTRL Key pressed
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00821373
Message ID:
00821668
Views:
22
Thanks for that info. I'll go back do the Event Tracking so I can learn and it will stick with me.

>Elgin,
>
>The event tracing in the debugger shows that textbox DblClick event isn't fired when SHIFT key is pressed.
>
>>Sergey,
>>
>>Thanks for your suggestion. As usual it was a big help. I've learned alot about the GetKeyState function. However I can't get the state of the Shift Key. As a test, I placed the sample code from the message #12649 in my FieldMerge() method. I then called the FieldMerge() method from the DblClick method of my TextBoxes in a couple of columns in a Grid. Both the CTRL and ALT lines work fine. When I hold down the CTRL key and doubleclick the textbox the message appears as it should. But when I try to do that with the SHIFT key nothing happens.
>>
>>Is SHIFT reserved in some way in VFP? I really want to use the CTRL and SHIFT keys for this function.
>>
>>Thanks again.
Elgin Rogers
Epic Solutions
www.epicsolutions.net
Previous
Reply
Map
View

Click here to load this message in the networking platform