ON KEY COMMAND
  


Allows to define a keyboard shortcut.

SYNTAX

ON KEY ALT <Key> [ OF <ParentWindow>] ACTION <ActionProcedureName> | <bBlock> [ RESULT ] TO < lSuccess >

REMARKS

Clause RESULT TO allows to set the hotkey with validation of a setting

Key must be one of the following:

ALT+A
SHIFT+A
CONTROL+A
ALT+B
SHIFT+B
CONTROL+B
ALT+C
SHIFT+C
CONTROL+C
ALT+D
SHIFT+D
CONTROL+D
ALT+E
SHIFT+E
CONTROL+E
ALT+F
SHIFT+F
CONTROL+F
ALT+G
SHIFT+G
CONTROL+G
ALT+H
SHIFT+H
CONTROL+H
ALT+I
SHIFT+I
CONTROL+I
ALT+J
SHIFT+J
CONTROL+J
ALT+K
SHIFT+K
CONTROL+K <
ALT+L
SHIFT+L
CONTROL+L
ALT+M
SHIFT+M
CONTROL+M
ALT+N
SHIFT+N
CONTROL+N
ALT+O
SHIFT+O
CONTROL+O
ALT+P
SHIFT+P
CONTROL+P
ALT+Q
SHIFT+Q
CONTROL+Q
ALT+R
SHIFT+R
CONTROL+R
ALT+S
SHIFT+S
CONTROL+S
ALT+T
SHIFT+T
CONTROL+T
ALT+U
SHIFT+U
CONTROL+U
ALT+V
SHIFT+V
CONTROL+V
ALT+W
SHIFT+W
CONTROL+W
ALT+X
SHIFT+X
CONTROL+X
ALT+Y
SHIFT+Y
CONTROL+Y
ALT+Z
SHIFT+Z
CONTROL+Z
ALT+0
SHIFT+0
CONTROL+0
ALT+1
SHIFT+1
CONTROL+1
ALT+2
SHIFT+2
CONTROL+2
ALT+3
SHIFT+3
CONTROL+3
ALT+4
SHIFT+4
CONTROL+4
ALT+5
SHIFT+5
CONTROL+5
ALT+6
SHIFT+6
CONTROL+6
ALT+7
SHIFT+7
CONTROL+7
ALT+8
SHIFT+8
CONTROL+8
ALT+9
SHIFT+9
CONTROL+9
ALT+F1
SHIFT+F1
CONTROL+F1
ALT+F2
SHIFT+F2
CONTROL+F2
ALT+F3
SHIFT+F3
CONTROL+F3
ALT+F4
SHIFT+F4
CONTROL+F4
ALT+F5
SHIFT+F5
CONTROL+F5
ALT+F6
SHIFT+F6
CONTROL+F6
ALT+F7
SHIFT+F7
CONTROL+F7
ALT+F8
SHIFT+F8
CONTROL+F8
ALT+F9
SHIFT+F9
CONTROL+F9
ALT+F10
SHIFT+F10
CONTROL+F10
ALT+F11
SHIFT+F11
CONTROL+F11
ALT+F12
SHIFT+F12
CONTROL+F12
ALT+BACK
SHIFT+BACK
CONTROL+BACK
ALT+TAB
SHIFT+TAB
CONTROL+TAB
ALT+RETURN
SHIFT+RETURN
CONTROL+RETURN
ALT+ESCAPE
SHIFT+ESCAPE
CONTROL+ESCAPE
ALT+END
SHIFT+END
CONTROL+END
ALT+HOME
SHIFT+HOME
CONTROL+HOME
ALT+LEFT
SHIFT+LEFT
CONTROL+LEFT
ALT+UP
SHIFT+UP
CONTROL+UP
ALT+RIGHT
SHIFT+RIGHT
CONTROL+RIGHT
ALT+DOWN
SHIFT+DOWN
CONTROL+DOWN
ALT+INSERT
SHIFT+INSERT
CONTROL+INSERT
ALT+DELETE
SHIFT+DELETE
CONTROL+DELETE
ALT+PRIOR
SHIFT+PRIOR
CONTROL+PRIOR
ALT+NEXT
SHIFT+NEXT
CONTROL+NEXT
  
CONTROL+ALT+A
CONTROL+SHIFT+A
CONTROL+ALT+B
CONTROL+SHIFT+B
CONTROL+ALT+C
CONTROL+SHIFT+C
CONTROL+ALT+D
CONTROL+SHIFT+D
CONTROL+ALT+E
CONTROL+SHIFT+E
CONTROL+ALT+F
CONTROL+SHIFT+F
CONTROL+ALT+G
CONTROL+SHIFT+G
CONTROL+ALT+H
CONTROL+SHIFT+H
CONTROL+ALT+I
CONTROL+SHIFT+I
CONTROL+ALT+J
CONTROL+SHIFT+J
CONTROL+ALT+K
CONTROL+SHIFT+K
CONTROL+ALT+L
CONTROL+SHIFT+L
CONTROL+ALT+M
CONTROL+SHIFT+M
CONTROL+ALT+N
CONTROL+SHIFT+N
CONTROL+ALT+O
CONTROL+SHIFT+O
CONTROL+ALT+P
CONTROL+SHIFT+P
CONTROL+ALT+Q
CONTROL+SHIFT+Q
CONTROL+ALT+R
CONTROL+SHIFT+R
CONTROL+ALT+S
CONTROL+SHIFT+S
CONTROL+ALT+T
CONTROL+SHIFT+T
CONTROL+ALT+U
CONTROL+SHIFT+U
CONTROL+ALT+V
CONTROL+SHIFT+V
CONTROL+ALT+W
CONTROL+SHIFT+W
CONTROL+ALT+X
CONTROL+SHIFT+X
CONTROL+ALT+Y
CONTROL+SHIFT+Y
CONTROL+ALT+Z
CONTROL+SHIFT+Z
CONTROL+ALT+0
CONTROL+SHIFT+0
CONTROL+ALT+1
CONTROL+SHIFT+1
CONTROL+ALT+2
CONTROL+SHIFT+2
CONTROL+ALT+3
CONTROL+SHIFT+3
CONTROL+ALT+4
CONTROL+SHIFT+4
CONTROL+ALT+5
CONTROL+SHIFT+5
CONTROL+ALT+6
CONTROL+SHIFT+6
CONTROL+ALT+7
CONTROL+SHIFT+7
CONTROL+ALT+8
CONTROL+SHIFT+8
CONTROL+ALT+9
CONTROL+SHIFT+9
CONTROL+ALT+F1
CONTROL+SHIFT+F1
CONTROL+ALT+F2
CONTROL+SHIFT+F2
CONTROL+ALT+F3
CONTROL+SHIFT+F3
CONTROL+ALT+F4
CONTROL+SHIFT+F4
CONTROL+ALT+F5
CONTROL+SHIFT+F5
CONTROL+ALT+F6
CONTROL+SHIFT+F6
CONTROL+ALT+F7
CONTROL+SHIFT+F7
CONTROL+ALT+F8
CONTROL+SHIFT+F8
CONTROL+ALT+F9
CONTROL+SHIFT+F9
CONTROL+ALT+F10
CONTROL+SHIFT+F10
CONTROL+ALT+F11
CONTROL+SHIFT+F11
CONTROL+ALT+F12
CONTROL+SHIFT+F12
CONTROL+ALT+BACK
CONTROL+SHIFT+BACK
CONTROL+ALT+TAB
CONTROL+SHIFT+TAB
CONTROL+ALT+RETURN
CONTROL+SHIFT+RETURN
CONTROL+ALT+ESCAPE
CONTROL+SHIFT+ESCAPE
CONTROL+ALT+END
CONTROL+SHIFT+END
CONTROL+ALT+HOME
CONTROL+SHIFT+HOME
CONTROL+ALT+LEFT
CONTROL+SHIFT+LEFT
CONTROL+ALT+UP
CONTROL+SHIFT+UP
CONTROL+ALT+RIGHT
CONTROL+SHIFT+RIGHT
CONTROL+ALT+DOWN
CONTROL+SHIFT+DOWN
CONTROL+ALT+INSERT
CONTROL+SHIFT+INSERT
CONTROL+ALT+DELETE
CONTROL+SHIFT+DELETE
CONTROL+ALT+PRIOR
CONTROL+SHIFT+PRIOR
CONTROL+ALT+NEXT
CONTROL+SHIFT+NEXT