Assignments of the Accelerator-Key-Message Names
The standard DataFlex message names for accelerator-key functions are assigned to keyboard keys as shown below. In your programs, you can assign these names to other keyboard keys simply by using the physical keyname as shown in the list that follows the table below. For example, if you wanted to make Ctrl+P the key for prompts, the following statement would do so:
On_Key Key_Ctrl+Key_P Send Prompt
If you wished to use the F4 key assigned to this function by default for something else, you could do so with the following statement:
On_Key Key_F4 Send SomethingElse
Accelerator-Key Assignments
| Message Name | Key Assignment |
|---|---|
| KACTION_BAR | F10 |
| KADD_MODE | SHIFT+F10 |
| KBACK_SPACE | Backspace |
| KBEGIN_OF_DATA | Ctrl+Home |
| KBEGIN_OF_LINE | Home |
| KBEGIN_OF_PANEL | Ctrl+Up Arrow |
| KCANCEL | Esc |
| KCLEAR | F5 |
| KCLEAR_ALL | Ctrl+F5 |
| KCLOSE_PANEL | Ctrl+F4 |
| KCOPY | Ctrl+C |
| KCUT | Ctrl+X |
| KDELETE_CHARACTER | Delete |
| KDELETE_RECORD | Shift+F2 |
| KDOWNARROW | Down Arrow |
| KEND_OF_DATA | Ctrl+End |
| KEND_OF_LINE | End |
| KEND_OF_PANEL | Ctrl+Down Arrow |
| KENTER | Enter |
| KERASE_END_OF_LINE | Ctrl+Backspace |
| KEXIT_APPLICATION | Alt+F4 |
| KEXIT_FUNCTION | F3 |
| KFIND | F9 |
| KFIND_NEXT | F8 |
| KFIND_PREVIOUS | F7 |
| KHELP | F1 |
| KINSERT | Insert |
| KLEFTARROW | Left Arrow |
| KNEXT_ITEM | Tab |
| KPASTE | Ctrl+V |
| KPREVIOUS_ITEM | Shift+Tab |
| KPRINT_SCREEN | Shift+F4 |
| KPROMPT | F4 |
| KREFRESH_SCREEN (obsolete) | Shift+F5 |
| KRIGHTARROW | Right Arrow |
| KSAVE_RECORD | F2 |
| KSCROLL_BACK | Page Up |
| KSCROLL_FORWARD | Page Down |
| KSUPER_FIND | Ctrl+F9 |
| KSUPER_FIND_NEXT | Shift+F8 |
| KSUPER_FIND_PREVIOUS | Shift+F7 |
| KSWITCH | F6 |
| KSWITCH_BACK | Shift+F6 |
| KUPARROW | Up Arrow |
| KWORD_LEFT | Ctrl+Left Arrow |
| KWORD_RIGHT | Ctrl+Right Arrow |
| KZOOM | Alt+F9 |
Note: OBS = Obsolete (character_mode) key. KREFRESH_SCREEN sends Refresh_Screen, which performs a ClearScreen, both of which are undefined in DataFlex.