>I am trying to make a keypress work to capture CTRL+c. However that seems to be a reserved key and the keypress does not trigger at all. Same for Ctrl+x and Ctrl+v. All other keys as well as Ctrl+Shift+c do work.
>
>So I am trying to find a workaround to recognize the event if that key is being pressed, but so far no luck. Any suggestions would be highly appreciated.
Either SET SYSMENU OFF (to work with the KeyPress event) or ON KEY LABEL CTRL+C, to set it in a more global fashion (although you can try to accommodate the execution context by using the _Screen.ActriveForm.ActiveControl, or by using a function that gets the current control, whatever its container hierarchy).
----------------------------------
António Tavares Lopes