search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Move event with Ctrl-key pressed

Asked by Willem Sanders
14 years ago.

Is ther a way to detect if the Ctrl-key was pressed in the client-side EventMoveJavascript handler?

This way I can implement a Move (ctrl-key up) or Copy (ctrl-key down)

Comment posted by Dan Letecky
14 years ago.

The EventMoveJavaScript handler (client-side) now keeps information about the Ctrl and Shift keys status in "ctrl" and "shift" variables respectively:

EventMoveJavaScript="if (ctrl) { doYourCopyAction(); } else if (shift) { doYourMoveAction(); } else { doTheDefaultAction(); }"

This feature is available since build 5.8.1968.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.