Home › Forums › General XMetaL Discussion › Override the paste CTRL+V shortcut keys in XMAX 5.5 › Reply To: Override the paste CTRL+V shortcut keys in XMAX 5.5
Reply to: Override the paste CTRL+V shortcut keys in XMAX 5.5March 9, 2016 at 6:59 pm
its been awhile since this was posted and hopeful someone has found a solution. We need to run special code to clean up the clipboard and are trying to intercept the keyboard cut and paste commands. We are using a vb.net mdi form that can host other forms that contain their own xmax 10.0 control. We have set the form's KeyPreview = true, but can't capture the Ctrl+X or Ctrl+V in any of the form's _KeyDown event. We were able to capture the key combinations in the xmax control's _PreviewKeyDown event – however, it carries out our special code and then proceeds with the normal copy (or paste).