Progress
Programming
Handbook


Control Keys

To control operation of a character browse, Progress provides a set of dedicated control keys. These control keys apply differently in row mode or edit mode. However, in both modes, any control key that changes (or attempts to change) the selected row fires the VALUE–CHANGED event.

These control keys correspond to Progress key functions that you can redefine. On Windows, you can redefine them in the registry or in an initialization file. On UNIX, you can redefine them in the PROTERMCAP file. For more information on redefining control key functions, see the chapter on user interface environments in the Progress Client Deployment Guide.

Table 10–2 describes the key functions, default key labels, and operation of the row mode control keys.

Table 10–2: Row Mode Control Keys

Key Function
Default
Key Label

Description
(Space Bar)1
" "
Fires the VALUE–CHANGED event. In multiple selection mode, this also selects and deselects the row that has focus, alternately displaying and erasing the tick mark.
CURSORLEFT
CURSORLEFT
Scrolls the browser widget horizontally one column to the left.
CURSORRIGHT
CURSORRIGHT
Scrolls the browser widget horizontally one column to the right.
CURSORDOWN
CURSORDOWN
Moves focus down one row.1
CURSORUP
CURSORUP
Moves focus up one row.2
END
ESC.
Moves focus to the last row in the browse widget.2
HOME
ESC,
Moves focus to the first row in the browse widget.2
PAGEDOWN
ESCCURSORDOWN
Pages down one full page of data.2
PAGEUP
ESCCURSORUP
Pages up one full page of data.2
REPLACE
ESCR
Changes the browser to edit mode, places focus in the first enabled cell of the currently focused row, and fires the VALUE–CHANGED event. In multiple selection mode, this also selects the focused row and deselects any other selected rows. If you specify NO–ROW–MARKERS in the browse definition or set the ROW–MARKERS attribute to FALSE, REPLACE has no effect.
RETURN
RETURN
Fires the DEFAULT–ACTION event.
TAB
TAB
Leaves the browse widget and sets input focus to the next sibling widget of the browse in the tab order.
  1. Note that Progress has no key function identifier for the space bar. In code, you reference a character string containing a single space (" ").
  2. In single selection mode, this also fires the VALUE–CHANGED event, because selection follows focus.

Table 10–3 describes the key functions, default key labels, and operation of the edit mode control keys.

Table 10–3: Edit Mode Control Keys

Key Function
Default
Key Label

Description
(Space Bar)1
" "
Enters a space or zeroes numeric data in the focused cell.
CURSORLEFT
CURSORLEFT
Moves the cursor one character to the left in the cell. (Does not leave the cell.)
CURSORRIGHT
CURSORRIGHT
Moves the cursor one character to the right in the cell. (Does not leave the cell.)
CURSORDOWN
CURSORDOWN
Moves focus down to the next cell in the column and fires the VALUE–CHANGED event.
CURSORUP
CURSORUP
Moves focus up to the previous cell in the column and fires the VALUE–CHANGED event.
BACKTAB
CTRLU
Moves focus to the previous enabled cell in the browse (right to left; bottom to top).1 When focus is on the first cell, BACK–TAB does not function.
EDITORTAB
CTRLG
Moves focus to the next enabled cell in the browse (left to right; top to bottom).2 When focus is on the last cell the EDITOR–TAB does not function.
END
ESC.
Moves focus to the last cell in the current column and fires the VALUE–CHANGED event.
HOME
ESC,
Moves focus to the first cell in the current column and fires the VALUE–CHANGED event.
PAGEDOWN
ESCCURSORDOWN
Pages down one full page of data and fires the VALUE–CHANGED event.
PAGEUP
ESCCURSORUP
Pages up one full page of data and fires the VALUE–CHANGED event.
REPLACE
ESCR
Changes the browser to row mode, with selection set to the currently focused row.
RETURN
RETURN
Moves focus to the next cell in the current column and fires the VALUE–CHANGED event.
TAB
TAB
Leaves the browse widget and sets input focus to the next sibling widget of the browse in the tab order.
  1. Note that Progress has no key function identifier for the space bar. In code, you reference a character string containing a single space (" ").
  2. If this action changes or attempts to change the selected row, it also fires the VALUE–CHANGED event.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095