Difference between revisions of "RESTORE KEYS"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
==Class==
 
Keyboard Events
 
  
  

Revision as of 14:42, 23 October 2009


Purpose

Restore saved hot key assignments


Syntax

RESTORE KEYS FROM <memvar>


See Also

CLEAR KEYS, ON KEY, SAVE KEYS, SET KEY


Description

The RESTORE KEYS command reinstates hot key assignments that were previously saved with the SAVE KEYS command. The SAVE KEYS command allows you to save hot key assignments to a memory variable. Any keys except a-z or 0-9 may be assigned to procedures using the SET KEY or ON KEY commands. When a user presses this key, the assigned procedure executes. Keys used in this way are known as 'hot keys'. The <memvar> is the name of the memory variable to which the hot key assignments were saved, and from which they will be restored. To reset the hot key assignments back to default, use the CLEAR KEYS command.


Example

set key -1 to helpfunc
save keys to m_hotkeys
clear keys
....
restore keys from m.m_hotkeys


Products

Recital Mirage Server, Recital Terminal Developer