Consultor Eletrônico



Kbase P21392: How do I set the function keys in Windows?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   28/09/2009
Status: Verified

GOAL:

How do I set the function keys in Windows?

FACT(s) (Environment):

Windows
OpenEdge 10.x

FIX:

Modify the WinChar Keys Section in the progress.ini file.

The WinChar Keys section of the progress.ini file defines the customized key bindings for use with character clients. Table 5-2 lists the user-definable key bindings in the Windows environment. For a complete listing of the Windows key function and key label mappings for
handling user input, see the Progress Programming Handbook.

Table 5-2: User-definable Key Bindings in Windows

Key Function
Key Label
APPEND-LINE
CTRL-A
BLOCK
CTRL-V
BREAK-LINE
CTRL-ALT-B
CLEAR
F8
COPY
F11
CUT
F10
DEFAULT-POP-UP
SHIFT-F4
DELETE-LINE
CTRL-D
END-ERROR
ESC
ENTER-MENUBAR
F3
FIND
CTRL-F
GET
F5
GO
F1
HELP
F2
INSERT-MODE
INS
NEW-LINE
CTRL-N
NEXT-FRAME
CTRL-TAB
PASTE
F12
PREV-FRAME
CTRL-SHIFT-TAB
PUT
F6
RECALL
F7


Specify a key-binding entry using the following syntax:

keyfunction=keylabel [ , keylabel ]


Use a single entry to specify a key binding; additional entries for the same key function are ignored.

If you specify more than one key label, Progress uses the first when it needs to display a key label given a key function, as in "Enter data or press Escape to end."

For example, the following entry maps the Help key function to the F2 key label, and the Go key function to the F1 key label:

HELP=F2

GO=F1

You can use any combination of CTRL, SHIFT, and ALT keys. However, SHIFT only has an effect when used with ASCII keys. If an entry contains nonexistent key labels,
the entry is ignored.

NOTE: Set the V6Keys option in the [WinChar Startup] section to enable Progress to use a set of key bindings that are Version 6 compatible by default.