Error getting tags :
error 404Error getting tags :
error 404 copyKey | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
copyKey
Basics
Expander triangle
Type
Message
Syntax
copyKey
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent when the user presses the key combination equivalent to the Copy menu item.
Examples

on copyKey
if the selection is empty then beep -- nothing to copy
pass copyKey
end copyKey

Additional Comments
Expander triangle

Handle the copyKey message if you want to change the normal copying process, or prevent use of the Copy key combination without changing the menu.

Comments:

The Revolution development environment traps the copyKey message, unless "Suspend Revolution UI" is turned on in the Development menu. This means that the copyKey message is not received by a stack if it's running in the development environment.

The copyKey message is sent when the user presses Command-C (on Mac OS systems), Control-C (on Windows systems), Control-Insert (on Unix systems), or the keyboard Copy key.

The message is sent to the active (focused) control, or to the current card if no control is focused.

User Comments
Expander triangle