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