Consultor Eletrônico



Kbase P113146: How to change key mappings for a GUI session.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

GOAL:

How to change key mappings for a GUI session.

GOAL:

How to remap keys to custom functions for a graphical session.

FIX:

In order to change the Progress function to which a key is mapped, you will have to add or edit the Keys section of your .INI file or in the registry, whichever your session is using.

Within a .INI file, you will need something like the following:

[Keys]
GO=F1,F8

Those two lines map both F1 and F8 to Progress function GO.

If you are using the registry, you have to ensure that a registry key named Keys is present at your base registry location, which is HKEY_CURRENT_USER\Software\PSC\PROGRESS\<version> by default. Then, under the Keys key, add a new String Value; let the its Name be the name of the Progress function you want to achieve and let its Data be a comma-separated list of keys that map to that function.
For example, in order to map F1 and F8 to GO [as in the previous example], add a new String Value, with Name set to "GO" (without the quotes) and Data set to "F1,F8" (without the quotes).

Please note that this method can *not* be employed to change the behavior of the RETURN key. Should you need to remap the RETURN key so that it moves the cursor from one fill-in field to the next (like in the TTY-based applications), please see Solution 18936.