BlockKeyCommand
view:BlockKeyCommand(keyMessageSymbol)
Hides a key command that would ordinarily be accessible in the view.
DISCUSSION
- keyMessageSymbol
- 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 *
BlockKeyCommand
method makes any key command that matches keyMessageSymbol unavailable from the view. The key command no longer appears on the command key popup help slip in the view.
- IMPORTANT
- The *
AddKeyCommand
and *BlockKeyCommand
methods grow a RAM-based array, so you must be careful to not overuse these methods.![]()
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help