SendKeyMessage
SendKeyMessage(keyView, keyMessage)
Sends a message to a view as if the user had typed a key command.
DISCUSSION
- keyView
- The view to which the message gets sent.
- keyMessage
- A symbol that names the command message. This must be the same message as you specified in the
keyMessage
slot of thekeyCommand
frame.
- return value
- Undefined; do not rely on it.
The *
SendKeyMessage
function sends the message using the same lookup rules that are used when a key command is being handled by the system.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help