ACCELERATOR

Enables you to define accelerator keys. If the end user presses an accelerator key, the double-click event occurs for the dialog element, or if no double-click event is available, the click event occurs. The accelerator key does not work if the corresponding event is suppressed.

Note:
User-defined accelerator keys overwrite identical operating system accelerator keys, with the exception of hot keys such as Alt+Tab, Ctrl+Esc, Ctrl+Alt+Del, etc.

Applies to Bitmap control, list box control, list view control, menu item, OLE container control, push button control,

radio button control, signal, tree view control, toggle button control, tool bar item.

Data Type A253
Default Value None
Possible Values The standard syntax is:
[Ctrl+][Alt+][Shift+]<key>
where <key> can be any of the following values:

"A" to "Z"
"0" to "9" (but not in conjunction with shift key)
"F1" to "F12" (but not F1 on its own)
"Num 0" to "Num 9" (=numeric keypad number keys)
"Num Dec" (=numeric keypad decimal point key)
"Num +" (=numeric keypad add key)
"Num -" (=numeric keypad subtract key)
"Num *" (=numeric keypad multiply key)
"Num /" (=numeric keypad divide key)
"Space"
"Backspace"
"Tab"
"Enter" (=return key)
"Esc" (=escape key)
"Ins" (=insert key)
"Del" (=delete key)
"Home"
"End"
"Page Up" or "Page Down"
"Left Arrow", "Right Arrow", "Up Arrow" or "Down Arrow"

Examples: "3", "F7", "Shift+Page Up", "Alt+Enter", "Ctrl+Alt+G". Note that the key modifiers ("Ctrl", "Alt" and "Shift") can be specified in any order. Accelerators are not case-sensitive. Please keep in mind that F1 cannot be an accelerator and therefore help topics cannot be invoked this way.