Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
functionKey posInteger
Note: posInteger
must yield a number between 1 and 15.
HyperCard sends the functionKey
command to the current card when the user presses one of the function keys on the Apple Extended Keyboard.
The functionKey
command performs an undo, cut, copy, or paste for the values 1 through 4. Integer values 5 through 15 have no built-in effect.
You can handle the functionKey
message as follows:
An expression that evaluates to a positive integer.
For example:
See also: background
, bkgnd
, button
, card
, chunk
, field
, menu
, and menuItem
Any return-separated list of built-in commands, user-defined handlers, or keywords that are part of a message or function handler.