Error getting tags :
error 404Error getting tags :
error 404 functionKey | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
functionKey
Basics
Expander triangle
Type
Message
Syntax
functionKey keyNumber
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 a function key.
Examples

on functionKey theKey
if theKey is 8 then showPaintTools -- a custom handler
else pass functionKey
ionKeynctionKey

Additional Comments
Expander triangle

Handle the functionKey message to let the user perform some action with a function key.

Parameters:

The keyNumber is the number of the function key.

Comments:

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

Keyboards typically have twelve function keys, so you can use numbers from 1 to 12 to implement custom actions.

User Comments
Expander triangle