8.1 Overview

Acceleratoritem class is used to create an individual keyboard shortcut as part of an accelerator table for Accelerator class. You cannot create independent instances of Acceleratoritem class. They always need to be embedded inside Accelerator class. See Accelerator class for details.

The following keys can currently be specified when creating an accelerator item using the <item> XML tag:

‘UP’
Cursor up
‘DOWN’
Cursor down
‘RIGHT’
Cursor right
‘LEFT’
Cursor left
‘HELP’
Help key
‘DEL’
Delete key
‘BACKSPACE’
Backspace key
‘TAB’
Tab key
‘RETURN’
Return key
‘ENTER’
Enter key
‘ESC’
Escape
‘SPACE’
Space key
‘F1 - F16’
Function keys
‘INSERT’
Insert key
‘HOME’
Home key
‘END’
End key
‘PAGEUP’
Page up key
‘PAGEDOWN’
Page down key
‘PRINT’
Print key
‘PAUSE’
Pause key

Furthermore, Acceleratoritem class supports the English alphabet characters from A to Z as well as the numbers 0 to 9 as key specifications. It doesn't matter whether you specify all these keys in upper, lower or mixed case. See Accelerator class for an example.


Show TOC