 |
THE HYPERCARD CENTER |
|
|
Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
controlKeycontrolKey posInteger
The controlKey command has no built-in effect. HyperCard sends the controlKey command to the current card when a combination of the Control key and another key is pressed. You can handle the controlKey message as follows: on controlKey theKeyNumber statements end controlKey
HyperCard passes the following numbers for each control key combination: [TODO:Format table here] Examples -- same as holding down Control + left arrow; no built in effect: controlKey 28 on controlKey whichKey if whichKey is 28 then go previous marked card else if whichKey is 29 then go next marked card else pass controlKey end controlKey
Related Topics Placeholders
posIntegerAn expression that evaluates to a positive integer. For example: 3 67 mod 13 the number of bg fields the number of backgrounds the number of cards div 2
See also: background , bkgnd , button , card , chunk , field , menu , and menuItem statementsAny return-separated list of built-in commands, user-defined handlers, or keywords that are part of a message or function handler. put "Hello world" -- built-in command get total(field 1) -- function call global HelpInfo -- keyword
HyperTalk Reference
|